MCPcopy Create free account
hub / github.com/NullTerminatorr/NullHook / draw_box

Function draw_box

KernelCheatUM/main.cpp:123–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123bool draw_box(int x, int y, int w, int h, int t, int r, int g, int b)
124{
125 NULL_MEMORY instructions;
126 instructions.write = FALSE;
127 instructions.read = FALSE;
128 instructions.req_base = FALSE;
129 instructions.draw_box = TRUE;
130
131 instructions.x = x;
132 instructions.y = y;
133 instructions.w = w;
134 instructions.h = h;
135 instructions.t = t;
136
137 instructions.r = r;
138 instructions.g = g;
139 instructions.b = b;
140
141 call_hook(&instructions);
142
143 return true;
144}
145
146template<typename S>
147bool write(UINT_PTR write_address, const S& value)

Callers 1

mainFunction · 0.85

Calls 1

call_hookFunction · 0.85

Tested by

no test coverage detected