forked from GDRETools/gdsdecomp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbytecode_1ca61a3.h
37 lines (28 loc) · 959 Bytes
/
bytecode_1ca61a3.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_1ca61a3.h */
/*************************************************************************/
#ifndef GDSCRIPT_DECOMP_1ca61a3_H
#define GDSCRIPT_DECOMP_1ca61a3_H
#include "bytecode_base.h"
class GDScriptDecomp_1ca61a3 : public GDScriptDecomp {
GDCLASS(GDScriptDecomp_1ca61a3, GDScriptDecomp);
protected:
static void _bind_methods(){};
static const int bytecode_version = 13;
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;
GDScriptDecomp_1ca61a3() {
bytecode_rev = 0x1ca61a3;
engine_ver_major = 3;
variant_ver_major = 3;
}
};
#endif