The issue: CreatePOSIXThread relied on pattern-matching the machine code of pthread_getthreadid_np to determine the address of thr_initial. 7.5x libkernel has the function compiled in a slightly different way, which breaks the pattern-matching. This PR adds code for properly matching the 75x-style code.
The issue: CreatePOSIXThread relied on pattern-matching the machine code of
pthread_getthreadid_np
to determine the address ofthr_initial
. 7.5x libkernel has the function compiled in a slightly different way, which breaks the pattern-matching. This PR adds code for properly matching the 75x-style code.