okay yeah. this is not remotely delphi. this is C++. ghidra mis-detected it, and that may have messed up the analysis