The super short version is I used chatgpt to be a pseudo teacher of assembly and what the function is doing while I asked it a lot of questions about the function. Eventually I found the exact branch the function takes that considers sp phrases d