I think I've found the end of intervention ramp tables. The only way to know which one is which without fancy decompression and disassembly of the code is to test them. I'll test them one at a time with logs by putting extreme values in and seeing which gear shift they apply to. If it's nothing that I can notice in logs, I'll set it back where it was and move on to the next one. They're 8-bit single cell tables at 60933-6094C.
For a long time with N54s, we've had to make compromised band-aid fixes for knock-induced post-shift timing drops. If these tables do what I hope they do, I think they'll be the best fix yet.
Is your car back up to test with?