https://bugs.winehq.org/show_bug.cgi?id=57224
--- Comment #1 from EricParker atericparker@gmail.com --- From testing (have tested on my test script, but not on photoshop yet), adding this to prevent the 65th core from getting a relationprocessorcore fixes the 65 issue. This is probably suboptimal as the fact that it only goes to 65 implies there is a check somewhere higher up.
if (phys_core < 64) {
// by adding this if statement, the output now behaves identically to windows
if (!logical_proc_info_add_by_id( RelationProcessorCore, phys_core, thread_mask )) { fclose(fcpu_list); return STATUS_NO_MEMORY; } }