MCPcopy Create free account
hub / github.com/evi0s/WMPFDebugger / parseConfig

Function parseConfig

frida/hook.js:103–115  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

101 // handle onLoad scene
102 hookOnLoadScene(args[0], config.SceneOffsets);
103 },
104 onLeave(retval) {
105 // do nothing
106 },
107 });
108};
109
110const parseConfig = () => {
111 const rawConfig = `@@CONFIG@@`;
112 if (rawConfig.includes("@@")) {
113 // test addresses
114 return {
115 Version: 18955,
116 LoadStartHookOffset: "0x25B52C0",
117 CDPFilterHookOffset: "0x30248B0",
118 SceneOffsets: [1408, 1344, 488],

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected