MCPcopy Create free account
hub / github.com/GDRETools/gdsdecomp / get_possible_decomps

Method get_possible_decomps

bytecode/bytecode_tester.cpp:492–498  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

490}
491
492Vector<Ref<GDScriptDecomp>> BytecodeTester::get_possible_decomps(Vector<String> bytecode_files, bool include_dev, bool print_verbosely) {
493 int bytecode_version = get_bytecode_version(bytecode_files);
494 ERR_FAIL_COND_V_MSG(bytecode_version == -1, {}, "Inconsistent bytecode versions across files!!!");
495 ERR_FAIL_COND_V_MSG(bytecode_version <= 0, {}, "Could not read bytecode version from files.");
496 auto decomps = GDScriptDecompVersion::get_decomps_for_bytecode_ver(bytecode_version, include_dev);
497 return get_possibles_from_set(bytecode_files, decomps, print_verbosely);
498}
499
500Vector<Ref<GDScriptDecomp>> BytecodeTester::filter_decomps(const Vector<Ref<GDScriptDecomp>> &p_decomp_versions, int ver_major_hint, int ver_minor_hint) {
501 Vector<Ref<GDScriptDecomp>> candidates;

Callers

nothing calls this directly

Calls 1

get_possibles_from_setFunction · 0.85

Tested by

no test coverage detected