()
| 101 | // handle onLoad scene |
| 102 | hookOnLoadScene(args[0], config.SceneOffsets); |
| 103 | }, |
| 104 | onLeave(retval) { |
| 105 | // do nothing |
| 106 | }, |
| 107 | }); |
| 108 | }; |
| 109 | |
| 110 | const 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], |