-
c2switch_tholds the details of switches ("cmd") parsed byc2.dll: struct differs fromc1.dllandc1xx.dll- first field is the offset to a
wchar_t*containing the canonical form of the switch - second field is the offset to the storage of whatever gets set
- ...
- first field is the offset to a
-
c1switch_tseems to be the same struct forc1.dllandc1xx.dll- first field is the offset to a
char*containing the canonical form of the switch - second field is the offset to the storage of whatever gets set (or a callback function, depending on the type
- third field (offs 0x10) could be the
xfrom/dx(e.g./d1) - fourth fields (offs 0x11) appears to indicate the type:
- 1:
bool(1 byte) - 5:
bool(1 byte) inverted - 0xA: some callback function
- 0x22: C string, i.e.
char* - 0x24:
unsigned int*??? - 0x26: list of
char*??? - 0x29: some callback function
- 1:
- first field is the offset to a
-
/d1...switches correspond toc1*.dllI think -
/d2...switches correspond toc2.dllI think -
DummyFlagandDummyStringexist to catch stuff that was probably supported in the past but is now only handled for compat.?