Why not follow decompilation like ghidra does, rather than guess, compile, compare? It seems more sensible to actually decompile.

Because decompilation does has functions and variables that are nonhuman parsable ... I.e. func_1223337377 with variables a b c d