?fun_ref_12345678.
The resulting pseudocode might not compile back to the same BoC either.
TON Decompiler
TON Decompiler is an utility for converting BoC of the contract into a Fift-like pseudocode.
Decompiled code cannot match match the original source. At the very least, variable names and high-level structure is removed during compilation. Variables and methods will get some generated names, for example,
Then run it on a BoC file:
Then call a disassembler to decompile it, and a writer to put the result back into Fift-like pseudocode.