blob: 77bec7ebeeb9470fa110c2345fcecef2079931f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#pragma once
#include "vscript/languages/squirrel_re/include/squirrel.h"
#include "vscript/languages/squirrel_re/squirrel/sqobject.h"
// NOTE [Fifty]: Variable sized struct
struct alignas(8) SQFunctionProto : public SQCollectable
{
void* pointer_30;
SQObjectType _fileNameType;
SQString* _fileName;
SQObjectType _funcNameType;
SQString* _funcName;
SQObject obj_58;
unsigned char gap_68[12];
int _stacksize;
unsigned char gap_78[48];
int nParameters;
unsigned char gap_AC[60];
int nDefaultParams;
unsigned char gap_EC[200];
};
// TODO [Fifty]: Find out the size of the base struct
static_assert(offsetof(SQFunctionProto, _fileName) == 0x40); // Sanity this check for now
|