Java.perform(function () {
var Payload
=
Java.use(
"com.bytedance.android.livesdk.chatroom.viewmodule.digg.DiggWidget"
);
Payload.b.overload().implementation
=
function () {
let ram
=
this.l;
/
/
ram获取到的信息
/
/
{
"_p"
:[
"<instance: com.bytedance.android.livesdk.chatroom.viewmodule.digg.DiggWidget>"
,
/
/
2
,{
"className"
:
"com.bytedance.android.livesdkapi.depend.model.live.Room"
,
/
/
"name"
:
"Lcom/bytedance/android/livesdkapi/depend/model/live/Room;"
,
/
/
"type"
:
"pointer"
,
"size"
:
1
,
"defaultValue"
:
"0x0"
},
"0xc26a041c"
,
"0xe870141d"
,
"0xe8703c4d"
]}
let idStr
=
this.l.diggCount.value;
/
/
但是 idStr没有获取到任何信息
let ret
=
this.b();
outInfoJson
=
{
"roomNum"
: "",
"inRoom"
: "",
"bugNum"
: "",
"like"
:
1
,
"name"
:
"b"
,
"id"
: ram,
"barrage"
: idStr
};
send(JSON.stringify(outInfoJson))
return
ret;
}
});