@tuxlife no "research" tbh, i just grepped some stuff for a few minutes. i'm pretty sure that's the right file. i make no promise (it might be another file).
you'll have to read all of it, and grep for things that call those functions, and adapt it. but the logic is basically this:
1) read edit
2) set video timings based on edid
3) use those timings to bring up the display
it's step 1 and 2 that you need to replace. you'll have to tweak the parameters until something works.