MCPcopy Create free account
hub / github.com/ajkhoury/ReClassEx / CNodeFunctionPtr

Class CNodeFunctionPtr

ReClass/CNodeFunctionPtr.h:6–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4#include "CScintillaEdit.h"
5
6class CNodeFunctionPtr : public CNodeBase
7{
8public:
9 CNodeFunctionPtr( );
10 CNodeFunctionPtr( CWnd* pParentWindow, ULONG_PTR Address );
11 ~CNodeFunctionPtr( );
12
13 virtual void Update( const PHOTSPOT Spot );
14
15 virtual ULONG GetMemorySize( ) { return sizeof( void* ); }
16
17 virtual NODESIZE Draw( const PVIEWINFO View, int x, int y );
18
19 void Initialize( CWnd* pParentWindow, ULONG_PTR Address );
20
21 inline bool IsInitialized( ) { return (m_pAssemblyWindow != NULL); }
22
23 inline void HideAssemblyWindow( )
24 {
25 if (m_bRedrawNeeded == FALSE)
26 {
27 if (m_pAssemblyWindow != NULL)
28 m_pAssemblyWindow->ShowWindow( SW_HIDE );
29 m_bRedrawNeeded = TRUE;
30 }
31 }
32
33private:
34 void DisassembleBytes( ULONG_PTR Address );
35
36public:
37 std::vector<CStringA> m_Assembly;
38
39private:
40 CScintillaEdit* m_pAssemblyWindow;
41 CWnd* m_pParentWindow;
42
43 ULONG m_nLines;
44 ULONG m_nLongestLine;
45
46 int m_iWidth;
47 int m_iHeight;
48
49 BOOLEAN m_bRedrawNeeded;
50};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected