ff7_world_codegen.h 561 B

123456789101112131415161718192021
  1. #pragma once
  2. #include "decompiler_codegen.h"
  3. namespace FF7
  4. {
  5. class FF7WorldCodeGenerator : public CodeGenerator
  6. {
  7. public:
  8. FF7WorldCodeGenerator(Engine *engine, std::ostream &output)
  9. : CodeGenerator(engine, output, FIFO_ARGUMENT_ORDER, LIFO_ARGUMENT_ORDER)
  10. {
  11. }
  12. const InstPtr findFirstCall();
  13. const InstPtr findLastCall();
  14. virtual void processSpecialMetadata(const InstPtr inst, char c, int pos);
  15. protected:
  16. std::string ConstructFuncSignature(const Function &func);
  17. };
  18. }