mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-06 02:35:40 +08:00
...
This commit is contained in:
@@ -45,6 +45,7 @@ class MainHooker : YukiBaseHooker() {
|
|||||||
method {
|
method {
|
||||||
name = "onCreate"
|
name = "onCreate"
|
||||||
param(BundleClass)
|
param(BundleClass)
|
||||||
|
}
|
||||||
beforeHook {
|
beforeHook {
|
||||||
field {
|
field {
|
||||||
name = "a"
|
name = "a"
|
||||||
@@ -52,7 +53,6 @@ class MainHooker : YukiBaseHooker() {
|
|||||||
}.set(instance, "这段文字被修改成功了")
|
}.set(instance, "这段文字被修改成功了")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
injectMember {
|
injectMember {
|
||||||
method {
|
method {
|
||||||
name = "test"
|
name = "test"
|
||||||
|
@@ -57,6 +57,7 @@ class MainInjecter : YukiHookXposedInitProxy {
|
|||||||
method {
|
method {
|
||||||
name = "onCreate"
|
name = "onCreate"
|
||||||
param(BundleClass)
|
param(BundleClass)
|
||||||
|
}
|
||||||
beforeHook {
|
beforeHook {
|
||||||
field {
|
field {
|
||||||
name = "a"
|
name = "a"
|
||||||
@@ -64,7 +65,6 @@ class MainInjecter : YukiHookXposedInitProxy {
|
|||||||
}.set(instance, "这段文字被修改成功了")
|
}.set(instance, "这段文字被修改成功了")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
injectMember {
|
injectMember {
|
||||||
method {
|
method {
|
||||||
name = "test"
|
name = "test"
|
||||||
|
Reference in New Issue
Block a user