Last active
October 19, 2016 18:46
-
-
Save hexkyz/7e00fa59049da89cddf22c72e6d2ada2 to your computer and use it in GitHub Desktop.
HENkaku - Stage 1 (Pre-analysis of stage 2)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
strcpy(stack_base + 0x000086B4, "sdstor0:"); | |
strcpy(stack_base + 0x000086CC, "xmc-lp-ign-userext"); | |
// Do stuff | |
... | |
strcpy(stack_base + 0x000086E4, "molecule0:"); | |
SceLibKernel_a4ad("molecule0:"); | |
SceLibKernel_a55d("sdstor0:", 0x00000005, "xmc-lp-ign-userext", 0x00000014); | |
// Do stuff | |
... | |
int thread1_id = sceKernelCreateThread("pln", SceWebkit_base + 0x000054C8, 0x10000100, 0x00002000, 0x00000000, 0x000003FF, 0x00000000); | |
SceLibKernel_a791(thread1_id, 0x7C); | |
// Do stuff | |
... | |
int thread2_id = sceKernelCreateThread("mhm", SceWebkit_base + 0x000054C8, 0x10000100, 0x00002000, 0x00000000, 0x00000000, 0x00000000); | |
// Do stuff | |
... | |
SceNet_27E1("x", 0x00000002, 0x00000001); | |
SceNet_27E1("x", 0x00000002, 0x00000001); | |
SceNet_27E1("x", 0x00000002, 0x00000001); | |
SceNet_27E1("x", 0x00000002, 0x00000001); | |
SceNet_27E1("x", 0x00000002, 0x00000001); | |
// Do stuff | |
... | |
SceNet_27E1("sss", 0x00000002, 0x00000001); | |
SceNet_27E1("tst", 0x00000002, 0x00000007); | |
SceNet_27E1("tmp", 0x00000002, 0x00000001); | |
// Do stuff | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment