From 995ec585f4ce00b8fe2b3d14c8a0adc3958b9fd9 Mon Sep 17 00:00:00 2001 From: tianmo Date: Fri, 16 Oct 2026 16:20:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E6=98=A0=E5=B0=84=E8=A1=A8?= =?UTF-8?q?=EF=BC=9A=E6=8A=8A=20MapMethods=20=E7=9A=84=E5=80=99=E9=80=89?= =?UTF-8?q?=E7=8C=9C=E6=B5=8B(~n/m)=E4=BB=8E=E7=A1=AE=E5=AE=9A=E8=A1=A8?= =?UTF-8?q?=E9=87=8C=E5=89=94=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - anchors-libgdx.tsv 只保留唯一命中的 (126 条);候选消歧的 (138 条)移到 anchors-libgdx-unconfirmed.tsv 并标『不可信、要用先实测』; - names.tsv 重新合并 = 确定(=) + 手动/实测锚点(不再混入猜测)。 --- tools/deobf/anchors-libgdx-unconfirmed.tsv | 181 +++++++++++++++++++++ tools/deobf/anchors-libgdx.tsv | 3 +- tools/deobf/names.tsv | 2 +- 3 files changed, 184 insertions(+), 2 deletions(-) create mode 100644 tools/deobf/anchors-libgdx-unconfirmed.tsv diff --git a/tools/deobf/anchors-libgdx-unconfirmed.tsv b/tools/deobf/anchors-libgdx-unconfirmed.tsv new file mode 100644 index 0000000..29bdabd --- /dev/null +++ b/tools/deobf/anchors-libgdx-unconfirmed.tsv @@ -0,0 +1,181 @@ +# **未定**:MapMethods 只给出候选(`~n/m`),按声明顺序消歧,**不可信**,别拿去改名/反射调用。 +# 要用哪条,先用实测确认,再挪到 anchors.tsv。 +# owner sig newName(候选) +KP StackMapTable()F getPrefWidth +KP init()F getPrefHeight +KP java()Z getSelectedPrefWidth +com/badlogic/gdx/scenes/scene2d/ui/Button Class()Z isPressed +com/badlogic/gdx/scenes/scene2d/ui/Button LineNumberTable()F getMinWidth +com/badlogic/gdx/scenes/scene2d/ui/Button Ljava()Z isOver +com/badlogic/gdx/scenes/scene2d/ui/Button StackMapTable()F getPrefWidth +com/badlogic/gdx/scenes/scene2d/ui/Button String()F getMinHeight +com/badlogic/gdx/scenes/scene2d/ui/Button String()Z isChecked +com/badlogic/gdx/scenes/scene2d/ui/Button a_(Z)V setDisabled +com/badlogic/gdx/scenes/scene2d/ui/Button init()F getPrefHeight +com/badlogic/gdx/scenes/scene2d/ui/Button java()Z isDisabled +com/badlogic/gdx/scenes/scene2d/ui/CheckBox D()LdR; getImage +com/badlogic/gdx/scenes/scene2d/ui/CheckBox D()Lea; getStyle +com/badlogic/gdx/scenes/scene2d/ui/Label D()LN; getText +com/badlogic/gdx/scenes/scene2d/ui/Label D()Lcom/badlogic/gdx/scenes/scene2d/ui/Label$LabelStyle; getStyle +com/badlogic/gdx/scenes/scene2d/ui/ScrollPane B(Ldl;Ldl;)V addActorAfter +com/badlogic/gdx/scenes/scene2d/ui/ScrollPane Class(F)V scrollY +com/badlogic/gdx/scenes/scene2d/ui/ScrollPane D()Lcom/badlogic/gdx/scenes/scene2d/ui/ScrollPane$ScrollPaneStyle; getStyle +com/badlogic/gdx/scenes/scene2d/ui/ScrollPane D(Ldl;Ldl;)V addActorBefore +com/badlogic/gdx/scenes/scene2d/ui/ScrollPane I(ZZ)V setForceScroll +com/badlogic/gdx/scenes/scene2d/ui/ScrollPane L(ZZ)V setOverscroll +com/badlogic/gdx/scenes/scene2d/ui/ScrollPane Lcom()F getScrollBarWidth +com/badlogic/gdx/scenes/scene2d/ui/ScrollPane LineNumberTable()F getMinWidth +com/badlogic/gdx/scenes/scene2d/ui/ScrollPane Ljava(F)V setScrollX +com/badlogic/gdx/scenes/scene2d/ui/ScrollPane MethodHandle()F getScrollBarHeight +com/badlogic/gdx/scenes/scene2d/ui/ScrollPane Object()F getVisualScrollX +com/badlogic/gdx/scenes/scene2d/ui/ScrollPane String()F getMinHeight +com/badlogic/gdx/scenes/scene2d/ui/ScrollPane String(F)V scrollX +com/badlogic/gdx/scenes/scene2d/ui/ScrollPane invoke()F getVisualScrollY +com/badlogic/gdx/scenes/scene2d/ui/Skin D(Ljava/lang/String;)Lcom/badlogic/gdx/graphics/Color; getColor +com/badlogic/gdx/scenes/scene2d/ui/Skin D(Ljava/lang/String;)Lcom/badlogic/gdx/graphics/g2d/BitmapFont; getFont +com/badlogic/gdx/scenes/scene2d/ui/TextButton D()Lcom/badlogic/gdx/scenes/scene2d/ui/Label; getLabel +com/badlogic/gdx/scenes/scene2d/ui/TextButton D()Lcom/badlogic/gdx/scenes/scene2d/ui/TextButton$TextButtonStyle; getStyle +com/badlogic/gdx/scenes/scene2d/ui/TextField B()I getMaxLength +com/badlogic/gdx/scenes/scene2d/ui/TextField B()Ljava/lang/String; getMessageText +com/badlogic/gdx/scenes/scene2d/ui/TextField L(I)V setMaxLength +com/badlogic/gdx/scenes/scene2d/ui/TextField java()Z getProgrammaticChangeEvents +com/badlogic/gdx/scenes/scene2d/ui/Tree B()LeM; getSelection +com/badlogic/gdx/scenes/scene2d/ui/Tree B(LeM;Lfu;LJ;FF)V drawIcon +com/badlogic/gdx/scenes/scene2d/ui/Tree B(LeM;Lfu;LJ;FFFF)V drawOver +com/badlogic/gdx/scenes/scene2d/ui/Tree D(LeM;Lfu;LJ;FF)V drawExpandIcon +com/badlogic/gdx/scenes/scene2d/ui/Tree D(LeM;Lfu;LJ;FFFF)V drawSelection +com/badlogic/gdx/scenes/scene2d/ui/Tree F(FF)V setIconSpacing +com/badlogic/gdx/scenes/scene2d/ui/Tree StackMapTable()F getPrefWidth +com/badlogic/gdx/scenes/scene2d/ui/Tree V(FF)V setPadding +com/badlogic/gdx/scenes/scene2d/ui/Tree init()F getPrefHeight +com/badlogic/gdx/scenes/scene2d/ui/Window Class()Z isModal +com/badlogic/gdx/scenes/scene2d/ui/Window Code(Z)V setKeepWithinStage +com/badlogic/gdx/scenes/scene2d/ui/Window D()Lcom/badlogic/gdx/scenes/scene2d/ui/Label; getTitleLabel +com/badlogic/gdx/scenes/scene2d/ui/Window D()Lcom/badlogic/gdx/scenes/scene2d/ui/Window$WindowStyle; getStyle +com/badlogic/gdx/scenes/scene2d/ui/Window F(Z)V setModal +com/badlogic/gdx/scenes/scene2d/ui/Window I(Z)V setMovable +com/badlogic/gdx/scenes/scene2d/ui/Window Ljava()Z isResizable +com/badlogic/gdx/scenes/scene2d/ui/Window SourceFile(Z)V setResizable +com/badlogic/gdx/scenes/scene2d/ui/Window String()Z isMovable +com/badlogic/gdx/scenes/scene2d/ui/Window init()Let; getTitleTable +com/badlogic/gdx/scenes/scene2d/ui/Window java()Z isDragging +dR B()F getMinHeight +dR B()LdR; fillX +dR B(F)LdR; size +dR B(FF)LdR; minSize +dR B(I)LdR; colspan +dR B(LeN;LeN;)LdR; minSize +dR C(F)LdR; minHeight +dR Class()LdR; uniformX +dR Class(F)LdR; maxHeight +dR Code()LdR; growX +dR D()F getMinWidth +dR D(FF)LdR; size +dR D(I)LdR; align +dR F(F)LdR; maxWidth +dR I()F getPrefHeight +dR I()LdR; center +dR L()F getPrefWidth +dR L()LdR; fillY +dR L(F)LdR; width +dR LineNumberTable()LdR; expandY +dR Ljava(F)LdR; padTop +dR S(F)LdR; minWidth +dR S(LeN;)LdR; minSize +dR SourceFile()LdR; growY +dR V(F)LdR; prefHeight +dR Z(F)LdR; prefWidth +dR init()LdR; expandX +dR java(F)LdR; padLeft +dR lang(F)LdR; padBottom +dl B()LfY; getCaptureListeners +dl B(F)V setX +dl B(FF)V moveBy +dl B(Ldn;)Z removeListener +dl C()F getRight +dl C()V scaleChanged +dl C(F)V sizeBy +dl Code()F getScaleY +dl Code(F)V setOriginY +dl D()Lcom/badlogic/gdx/graphics/Color; getColor +dl D()Ldo; getParent +dl D()Ldt; getStage +dl D()Ldv; getTouchable +dl D()LfI; getActions +dl D()LfY; getListeners +dl D(FF)V setPosition +dl D(Ldo;)V setParent +dl D(Ldt;)V setStage +dl D(Ldv;)V setTouchable +dl F()F getScaleX +dl F(F)V setOriginY +dl I()F getHeight +dl I()V positionChanged +dl I(F)V setWidth +dl I(FF)V sizeBy +dl I(Ldn;)Z removeCaptureListener +dl L()F getWidth +dl L(F)V setY +dl L(FF)V setSize +dl S()F getTop +dl S()V sizeChanged +dl S()Z isVisible +dl S(F)V setHeight +dl SourceFile()F getRotation +dl StackMapTable()Z getDebug +dl V()F getOriginY +dl V(F)V setOriginY +dl Z()F getOriginX +dl Z(F)V setOriginX +dl c_()F getX +dl d_()F getY +dl init(F)V setScaleX +do D()Ldd; getCullingArea +do D()Lhq; getChildren +eX Class()F getMaxWidth +eX Code()V childrenChanged +eX LineNumberTable()F getMinWidth +eX Ljava()F getMaxHeight +eX S()V sizeChanged +eX StackMapTable()F getPrefWidth +eX String()F getMinHeight +eX init()F getPrefHeight +et B()I getAlign +et B()Ldo; debugAll +et B()LeN; getPadLeftValue +et B()LfI; getCells +et B(F)Let; padTop +et C(I)F getColumnWidth +et Code()Let; debugTable +et D()Lcom/badlogic/gdx/scenes/scene2d/ui/Skin; getSkin +et D()Ldl; debug +et D()LeN; getPadTopValue +et D()Lez; getTableDebug +et D()Lfu; getBackground +et F()Let; debugAll +et I()I getColumns +et I()LeN; getPadRightValue +et I(F)Let; padBottom +et I(I)F getRowMinHeight +et L()I getRows +et L()LeN; getPadBottomValue +et L(F)Let; padLeft +et L(I)F getRowHeight +et Lcom()F getPadY +et LineNumberTable()F getMinWidth +et MethodHandle()F getPadX +et Object()F getPadBottom +et S()LdR; defaults +et S(F)Let; padRight +et S(I)F getRowPrefHeight +et SourceFile()Let; debugCell +et StackMapTable()F getPrefWidth +et StackMapTable()Let; debugActor +et String()F getMinHeight +et V()Let; debug +et V(I)F getColumnPrefWidth +et Z(I)F getColumnMinWidth +et init()F getPrefHeight +et invoke()F getPadRight +et java()F getPadTop +et lang()F getPadLeft diff --git a/tools/deobf/anchors-libgdx.tsv b/tools/deobf/anchors-libgdx.tsv index 1c6e5de..0558acb 100644 --- a/tools/deobf/anchors-libgdx.tsv +++ b/tools/deobf/anchors-libgdx.tsv @@ -1,4 +1,5 @@ -# 由 tools/obfmap/MapMethods 指纹比对自动生成(上游 libGDX 1.11.0) +# 只放**确定**的映射:MapMethods 指纹唯一命中(输出里的 `=`)。 +# 由 tools/obfmap/MapMethods 对上游 gdx-1.11.0 比对生成;`~` 候选顺序猜的一律不放这里。 # owner name desc newName KP B (I)V setSelectedIndex KP D (Ldt;)V setStage diff --git a/tools/deobf/names.tsv b/tools/deobf/names.tsv index 5d02f2b..0510822 100644 --- a/tools/deobf/names.tsv +++ b/tools/deobf/names.tsv @@ -1,4 +1,4 @@ -# 合并后的名字映射表:MapMethods(gdx-1.11.0) 指纹自动 + 手动/实测锚点覆盖 +# 合并后的名字映射表:**只用确定(=)的指纹命中 + 手动/实测锚点** # owner name desc newName GO C F width GO I F scaleY