Class CCodeObject
  Public tvNode As node 'for the top level node under Source
  Public treeLoaded As Boolean 'lazy loaded children in tree yet or not? can be slow on giant projects so lazy load..
  Public structNode As node 'set in frmMain.SetupTreeview, used for easy display from frmSearchStructs
  Public baseOffset As Long 'switched from foff to va 11.20.22
  Public sType As String
  Public index As Long
  Public name As String
  Public EmbeddedControls As New CollectionEx 'all of the textboxes, buttons, menus etc as CControl
  Public ExternalObjects As New CollectionEx 'name of any external ocx libNames as string embedded in this code object
  Public Methods2 As New CollectionEx 'of CCodeBody building up at parse time in parallel for switch over
  Public MethodLinks As New Collection 'of CMethodLink loaded from OptInfo.aMethodLinkTable we need to know these to calc vtable offsets of functions on host object..
  Public ControlProps As New CollectionEx 'of CControlProperties set in ProcessControls. master list is vbp.ControlProps
  Public GUIObj As CGuiTable 'may not be set
  Public myProps As CControlProperties 'may not be set - only for Forms etc...
  Public ResDescTbl As New CRESDESCTBL 'this is for PubBytes..there could be a second for staticBytes but we dont handle it yet.
  Public aObjectInfo As Long ' 0x00
  Public Const1 As Long ' 0x04
  Public aPublicBytes As Long ' 0x08 (08d) Pointer to Public Variable Size integers
  Public aStaticBytes As Long ' 0x0C (12d) Pointer to Static Variables Struct (describes size of each var in alloc)
  Public aModulePublic As Long ' 0x10 (16d) Memory Pointer to Public Variables
  Public aModuleStatic As Long ' 0x14 (20d) Pointer to Static Variables
  Public aObjectName As Long ' 0x18  NTS
  Public ProcCount As Long ' 0x1C event sinks, funcs, subs, (api declares
  Public aProcNamesArray As Long ' 0x20 when non-zero
  Public oStaticVars As Long ' 0x24 (36d) objPtr(me) + oStaticVars = alloc for static vars
  Public objectType As Long ' 0x28
  Public Null3 As Long ' 0x2C
  Public unkObjTypeFlagsCnt As Long
  Public objinfo As New CObjectInfo
  Public optinfo As New COptObjInfo
  Public pubNames As New CollectionEx 'key = function index
  Public controlNames As New Collection 'of CControlName
  Public pubFuncsTypeInfo As New Collection 'of CPubFuncTypeDesc..
  Public ImplementedInterfaces As New CollectionEx 'added to from CPubVarTypeDesc no key, ex: ByVal IVBPrint As {000204F0-0000-0000-C000-000000000046}
  Public Enum MethodSearchBy
  Public Property Get isModule() As Boolean
  Public Property Get structSize() As Long
  Public Function ResolveConstPool(Optional pb As Object = Nothing) As Collection
  Public Function lastFunctionOffset() As Long
  Public Function toBytes() As Byte()
  Public Function ControForName(controlName As String, Optional ByRef out_cc As CControl) As Boolean
  Public Function ControlNameForID(controlID As Long, Optional ByRef out_cc As CControl) As String
  Public Function CodeObjForEmbeddedGUID(guid As String, Optional ByRef out_co As CCodeObject) As Boolean
  Public Function Method2ExistsFor(arg, Optional msb As MethodSearchBy = msb_rawaddr, Optional ByRef outCB As CCodeBody) As Boolean
  Public Function VTableDump(Optional ByVal indent As Long = 0) As String
  Public Function PubFuncForVOff(vOff As Long, out_ft As CPubFuncTypeDesc) As Boolean
  Public Function FuncForVTableOffset(ByVal VTableOffset As Long) As String
  Public Function CodeBodyForIndex(ByVal i As Long) As CCodeBody
  Public Function dump(Optional indent = 1) As String
  Public Function dumpStructFromMem(hProc As Long, Optional va As Long = -1) As String
  Public Function FillGrid() As String
  Public Property Get structIDC() As String
  Public Function RipPcode(src As srcLang, Optional cb As CCodeBody = Nothing, Optional fileDumpDir As String, Optional disabled As Boolean = False) As String
End Class
