forked from GDRETools/gdsdecomp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbytecode_8b912d1.h
37 lines (28 loc) · 1.01 KB
/
bytecode_8b912d1.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*************************************************************************/
/* bytecode_8b912d1.h */
/*************************************************************************/
#ifndef GDSCRIPT_DECOMP_8b912d1_H
#define GDSCRIPT_DECOMP_8b912d1_H
#include "bytecode_base.h"
class GDScriptDecomp_8b912d1 : public GDScriptDecomp {
GDCLASS(GDScriptDecomp_8b912d1, GDScriptDecomp);
protected:
static void _bind_methods(){};
static const int bytecode_version = 11;
enum {
TOKEN_BYTE_MASK = 0x80,
TOKEN_BITS = 8,
TOKEN_MASK = (1 << TOKEN_BITS) - 1,
TOKEN_LINE_BITS = 24,
TOKEN_LINE_MASK = (1 << TOKEN_LINE_BITS) - 1,
};
public:
virtual Error decompile_buffer(Vector<uint8_t> p_buffer) override;
virtual BYTECODE_TEST_RESULT test_bytecode(Vector<uint8_t> buffer) override { return BYTECODE_TEST_RESULT::BYTECODE_TEST_UNKNOWN; }; // not implemented
GDScriptDecomp_8b912d1() {
bytecode_rev = 0x8b912d1;
engine_ver_major = 3;
variant_ver_major = 2;
}
};
#endif