Niotso  git revision 558726a9f13d7c3423a683dd2f4323589b66c310
The New Implementation of The Sims Online
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
TSOEdithEditor.hpp
Go to the documentation of this file.
1 /*
2  TSOEdithEditor - TSOEdithEditorD.dll injector
3  TSOEdithEditor.hpp - Copyright (c) 2012 Fatbag <X-Fi6@phppoll.org>
4  Author(s): Fatbag <X-Fi6@phppoll.org>
5 
6  Permission to use, copy, modify, and/or distribute this software for any
7  purpose with or without fee is hereby granted, provided that the above
8  copyright notice and this permission notice appear in all copies.
9 
10  THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11  WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12  MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13  ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14  WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15  ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16  OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 */
18 
19 #include <basetyps.h>
20 #pragma pack(0)
21 
23 {
24  void * vtable1_cRZString;
25  char * mpBegin; //Pointer to beginning of string
26  char * mpEnd; //Pointer to null terminator
27  char * mpCapacity; //mpEnd + 1
28  DWORD mAllocator; //0
29  DWORD Zero1; //0
30 };
31 
33 {
34  DWORD StringID;
35  DWORD Unknown;
36  char * PointerToBuffer; //Buffer
37  DWORD SizeOfBuffer; //256
38  char Buffer[256];
39 };
40 
41 DECLARE_INTERFACE(cEdithEditorCOMDirector)
42 {
43  void * vtable_1_cEdithEditorCOMDirector;
44  void * vtable_2_cEdithEditorCOMDirector;
45  DWORD Zero1;
46  DWORD Zero2;
47  cRZString string;
48  DWORD Zero5;
49  DWORD Zero6;
50  DWORD Zero7;
51  DWORD Zero8;
52  DWORD Zero9;
53  DWORD Zero10;
54  DWORD Zero11;
55  void * ptr;
56  DWORD Value1; //2
57  DWORD Value2; //1
58  float Value3; //1.0f
59  DWORD Value4; //0x40000000
60  DWORD Value5; //2
61  DWORD Value6; //0
62  DWORD Value7; //1
63  DWORD Value8; //0
64  stringstruct string0; //StringID:0, Unknown:40, value:"index"
65  stringstruct string1; //StringID:1, Unknown:40, value:"value"
66  stringstruct string2; //StringID:2, Unknown:150, value:"Name"
67  stringstruct string3; //StringID:3, Unknown:200, value:"Description"
68  DWORD Value9; //0
69  DWORD Value10; //0
70  stringstruct string4; //StringID:0, Unknown:90, value:"Calling Tree"
71  stringstruct string5; //StringID:1, Unknown:86, value:"Type"
72  stringstruct string6; //StringID:2, Unknown:83, value:"Title"
73  stringstruct string7; //StringID:3, Unknown:65, value:"Yes"
74  stringstruct string8; //StringID:4, Unknown:65, value:"No"
75  stringstruct string9; //StringID:5, Unknown:65, value:"Cancel"
76  stringstruct string10; //StringID:6, Unknown:300, value:"Message"
77  stringstruct string11; //StringID:7, Unknown:45, value:"Tree ID"
78  stringstruct string12; //StringID:8, Unknown:50, value:"Node #"
79 };
80 
81 DECLARE_INTERFACE(cTSOEdithEditorDCOMDirector)
82 {
83  void * vtable1_cTSOEdithEditorDCOMDirector;
84  void * vtable2_cTSOEdithEditorDCOMDirector;
85  DWORD Zero1;
86  DWORD Zero2;
87  cRZString String1;
88  DWORD Zero5;
89  DWORD Zero6;
90  cEdithEditorCOMDirector ** memptr_1;
91  void ** memptr_2;
92  void ** memptr_3; //Same as memptr_2
93  DWORD Zero7;
94  DWORD Zero8;
95  void * dllptr_4_100B5834; //CMemoryException TD
96  DWORD Value1; //1
97  DWORD Value2; //0
98  float Value3; //1.0f
99  DWORD Value4; //0x40000000
100  DWORD Value5; //0
101  DWORD Value6; //0
102  DWORD Value7; //1
103  cRZString String2;
104  cRZString String3;
105  cRZString String4;
106  cRZString String5;
107  cRZString String6;
108  cRZString String7;
109  cRZString String8;
110  cRZString String9;
111  DWORD Zero9;
112  DWORD Zero10;
113  DWORD Zero11;
114  DWORD Zero12;
115  DWORD Zero13;
116  DWORD Zero14;
117  DWORD Zero15;
118  cRZString String10;
119  cRZString String11;
120  cRZString String12;
121  cRZString String13;
122  cRZString String14;
123  DWORD Zero16;
124  DWORD Zero17;
125  DWORD Zero18;
126  DWORD Zero19;
127  DWORD Zero20;
128  cRZString String15;
129  cRZString String16;
130  cRZString String17;
131  cRZString String18;
132  cRZString String19;
133  cRZString String20;
134  cRZString String21;
135  cRZString String22;
136  cRZString String23;
137  cRZString String24;
138  cRZString String25;
139  cRZString String26;
140  cRZString String27;
141  cRZString String28;
142  cRZString String29;
143  cRZString String30;
144 };