mirror of
https://github.com/thunderbrewhq/binana.git
synced 2026-04-30 21:53:50 +00:00
fix(profile): overhaul 3.3.5a-windows-386 to work with SuperImportSymbolsScript.py
This commit is contained in:
parent
bdb3389efb
commit
2d003672ec
39 changed files with 1476 additions and 1232 deletions
|
|
@ -11,68 +11,72 @@ DECLARE_STRUCT(PROCESSING);
|
|||
#include "storm/list.h"
|
||||
|
||||
// Callback types
|
||||
typedef int32_t (*CMDEXTRACALLBACK)(const char*);
|
||||
typedef int32_t (*CMDERRORCALLBACK)(CMDERROR*);
|
||||
typedef int32_t (*CMDPARAMSCALLBACK)(CMDPARAMS*, const char*);
|
||||
typedef int32_t (*CMDEXTRACALLBACK_interface)(const char*);
|
||||
typedef int32_t (*CMDERRORCALLBACK_interface)(CMDERROR*);
|
||||
typedef int32_t (*CMDPARAMSCALLBACK_interface)(CMDPARAMS*, const char*);
|
||||
|
||||
typedef CMDEXTRACALLBACK_interface CMDEXTRACALLBACK;
|
||||
typedef CMDERRORCALLBACK_interface CMDERRORCALLBACK;
|
||||
typedef CMDPARAMSCALLBACK_interface CMDPARAMSCALLBACK;
|
||||
|
||||
// Details a command line argument
|
||||
// class ARGLIST
|
||||
struct ARGLIST {
|
||||
uint32_t flags;
|
||||
uint32_t id;
|
||||
const char* name;
|
||||
CMDPARAMSCALLBACK callback;
|
||||
uint32_t flags;
|
||||
uint32_t id;
|
||||
const char* name;
|
||||
CMDPARAMSCALLBACK callback;
|
||||
};
|
||||
|
||||
// Parameters passed to argument callback
|
||||
// class CMDPARAMS
|
||||
struct CMDPARAMS {
|
||||
uint32_t flags;
|
||||
uint32_t id;
|
||||
const char* name;
|
||||
void* variable;
|
||||
uint32_t setvalue;
|
||||
uint32_t setmask;
|
||||
union {
|
||||
int32_t boolvalue;
|
||||
int32_t signedvalue;
|
||||
uint32_t unsignedvalue;
|
||||
const char* stringvalue;
|
||||
};
|
||||
uint32_t flags;
|
||||
uint32_t id;
|
||||
const char* name;
|
||||
void* variable;
|
||||
uint32_t setvalue;
|
||||
uint32_t setmask;
|
||||
union {
|
||||
int32_t boolvalue;
|
||||
int32_t signedvalue;
|
||||
uint32_t unsignedvalue;
|
||||
const char* stringvalue;
|
||||
};
|
||||
};
|
||||
|
||||
// Command definitions
|
||||
// class CMDDEF : public TSLinkedNode<CMDDEF>
|
||||
struct CMDDEF {
|
||||
TSLinkedNode_CMDDEF b_base;
|
||||
uint32_t flags;
|
||||
uint32_t id;
|
||||
char name[16];
|
||||
int32_t namelength;
|
||||
uint32_t setvalue;
|
||||
uint32_t setmask;
|
||||
void* variableptr;
|
||||
uint32_t variablebytes;
|
||||
CMDPARAMSCALLBACK callback;
|
||||
int32_t found;
|
||||
union {
|
||||
uint32_t currvalue;
|
||||
char* currvaluestr;
|
||||
};
|
||||
TSLinkedNode_CMDDEF b_base;
|
||||
uint32_t flags;
|
||||
uint32_t id;
|
||||
char name[16];
|
||||
int32_t namelength;
|
||||
uint32_t setvalue;
|
||||
uint32_t setmask;
|
||||
void* variableptr;
|
||||
uint32_t variablebytes;
|
||||
CMDPARAMSCALLBACK callback;
|
||||
int32_t found;
|
||||
union {
|
||||
uint32_t currvalue;
|
||||
char* currvaluestr;
|
||||
};
|
||||
};
|
||||
|
||||
// class CMDERROR
|
||||
struct CMDERROR {
|
||||
uint32_t errorcode;
|
||||
const char* itemstr;
|
||||
const char* errorstr;
|
||||
uint32_t errorcode;
|
||||
const char* itemstr;
|
||||
const char* errorstr;
|
||||
};
|
||||
|
||||
// class PROCESSING
|
||||
// class PROCESSING
|
||||
struct PROCESSING {
|
||||
CMDDEF* ptr;
|
||||
char name[16];
|
||||
int32_t namelength;
|
||||
CMDDEF* ptr;
|
||||
char name[16];
|
||||
int32_t namelength;
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue