Skip to content

Instantly share code, notes, and snippets.

(function(n, z) {
function ea() {
x = J = document.getElementById("canvas");
d = x.getContext("2d");
x.onmousedown = function(a) {
K = a.clientX;
L = a.clientY;
M();
V()
};
int __cdecl CNetChan::IsValidFileForTransfer(char *a1)
{
void *v1; // ecx@1
void *v2; // edi@3
size_t v3; // eax@5
signed int v4; // ebx@5
int retval; // edx@5
char *v6; // edi@6
void *v7; // esi@6
size_t v8; // ST10_4@6
let cmds = *((INTERFACES.input as usize + 0xC4) as *const *mut sdk::CUserCmd);
let cmd = cmds.offset((sequence_number % 90) as isize);
typedef unsigned long int uint32;
#define FlipBytes32(A) ((((uint32)(A) & 0xff000000) >> 24) | (((uint32)(A) & 0x00ff0000) >> 8) | (((uint32)(A) & 0x0000ff00) << 8) | (((uint32)(A) & 0x000000ff) << 24))
static const unsigned char MungeTable2[] = {0x05, 0x61, 0x7A, 0xED, 0x1B, 0xCA, 0x0D, 0x9B, 0x4A, 0xF1, 0x64, 0xC7, 0xB5, 0x8E, 0xDF, 0xA0 };
void Crypt(char *packet, int length, int z, bool unpack)
{
unsigned int * lbuff = (unsigned int *)packet;
unsigned int ebpc;
Destroy:
````rust
trait Destroy {
/// Called only when panicking
pub fn destroy(&mut self);
}
````
Drop:
rand1 = np.random.rand() - 0.5
rand2 = np.random.rand() - 0.5 + rand1
x = rand2
rand3 = np.random.rand() - 0.5
rand4 = np.random.rand() - 0.5 + rand3
y = rand4
{
"classname" "worldspawn"
}
{
"classname" "out_of_bounds"
"model" "*1"
}
window.ravioli_ravioli_give_me_the_rawinputuoli() -> bool; // name not final
if it returns true, now you get RawMouseMove events instead of (or in addition to?) MouseMove events
RawMouseMove(delta_x: i32, delta_y: i32)
also, window.grab_pointer() -> bool; // tries to grab the pointer, preventing it from leaving the window and hiding it
let name = &data[0..64];
let namelen = name.iter()
.position(|&c| c == 0)
.unwrap_or(name.len());
let name = String::from_utf8_lossy(&name[..namelen).to_string();
244 &IndicesSource::NoIndices { .. } => 0,
(gdb) disassemble
Dump of assembler code for function vel0city::vertex_array_object::get_vertex_array_object<u16>:
0x000000000041b640 <+0>: push %rbp
0x000000000041b641 <+1>: mov %rsp,%rbp
0x000000000041b644 <+4>: push %r15
0x000000000041b646 <+6>: push %r14
0x000000000041b648 <+8>: push %r13
0x000000000041b64a <+10>: push %r12
0x000000000041b64c <+12>: push %rsi