LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: enbock[P]Warp10Server/warp10server/src/Network/WebListener.cpp
// Function: Warp10::Network::WebListener::onClose(u::Object*)
void WebListener::onClose(Object* arg)
{
	bool sendWillClose = false;
	arg->destroy();
	lock();
	if(_isClosed == false) {

		_socket->close();
		
		int64 i = 0, l = _connections.length();
		for(; i < l; i++)
		{
			u::Network::Event close(u::Network::Event::CLOSE);
			IConnection* connection = _connections[i];
			connection->dispatchEvent(&close);
		}

		sendWillClose = true;
	}
	_isClosed = true;
	unlock();

	checkClosed();

	if(sendWillClose == true) {
		WebEvent willClose(WebEvent::WILL_CLOSE);
		dispatchEvent(&willClose);
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x2a0, %rsp            # imm = 0x2A0
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x290(%rbp)
movb $0x0, -0x11(%rbp)
movq -0x10(%rbp), %rdi
movq (%rdi), %rax
callq *(%rax)
movq -0x290(%rbp), %rdi
callq 0x417410
movq -0x290(%rbp), %rax
movb 0xe8(%rax), %al
andb $0x1, %al
movzbl %al, %eax
cmpl $0x0, %eax
jne 0x40c789
movq -0x290(%rbp), %rax
movq 0x90(%rax), %rdi
callq 0x41ab30
movq -0x290(%rbp), %rdi
movq $0x0, -0x20(%rbp)
addq $0x98, %rdi
callq 0x40dc90
movq %rax, -0x28(%rbp)
movq -0x20(%rbp), %rax
cmpq -0x28(%rbp), %rax
jge 0x40c785
movq $0x667c28, %rsi         # imm = 0x667C28
leaq -0xe0(%rbp), %rdi
callq 0x41fd30
movq -0x290(%rbp), %rdi
addq $0x98, %rdi
movq -0x20(%rbp), %rsi
callq 0x40dcb0
movq %rax, -0x298(%rbp)
jmp 0x40c725
movq -0x298(%rbp), %rax
movq %rax, -0xe8(%rbp)
movq -0xe8(%rbp), %rdi
leaq -0xe0(%rbp), %rsi
callq 0x412820
jmp 0x40c748
leaq -0xe0(%rbp), %rdi
callq 0x41fee0
movq -0x20(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x20(%rbp)
jmp 0x40c6e4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xf0(%rbp)
movl %eax, -0xf4(%rbp)
leaq -0xe0(%rbp), %rdi
callq 0x41fee0
jmp 0x40c81c
movb $0x1, -0x11(%rbp)
movq -0x290(%rbp), %rdi
movb $0x1, 0xe8(%rdi)
callq 0x417380
movq -0x290(%rbp), %rdi
movq (%rdi), %rax
callq *0x28(%rax)
movb -0x11(%rbp), %al
andb $0x1, %al
movzbl %al, %eax
cmpl $0x1, %eax
jne 0x40c813
movq $0x6677e0, %rsi         # imm = 0x6677E0
leaq -0x288(%rbp), %rdi
movq %rdi, -0x2a0(%rbp)
callq 0x40bc10
movq -0x290(%rbp), %rdi
movq -0x2a0(%rbp), %rsi
callq 0x412820
jmp 0x40c7e5
leaq -0x288(%rbp), %rdi
callq 0x40bbd0
jmp 0x40c813
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xf0(%rbp)
movl %eax, -0xf4(%rbp)
leaq -0x288(%rbp), %rdi
callq 0x40bbd0
jmp 0x40c81c
addq $0x2a0, %rsp            # imm = 0x2A0
popq %rbp
retq
movq -0xf0(%rbp), %rdi
callq 0x4deb40
nopl (%rax,%rax)
// File: enbock[P]Warp10Server/ulib/src/ByteArray.cpp
// Function: u::ByteArray::createMemory()
void ByteArray::createMemory()
{
	uint64 i;
	_size = BYTEARRAY_CHUNK;
	_buffer = (char *) malloc(_size);
	_position = 0;
	_length=0;
	if(_buffer == null) error("ByteArray::ByteArray(): Out of memory.");
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
movq $0x400, 0x48(%rax)      # imm = 0x400
movq 0x48(%rax), %rdi
callq 0x51a280
movq %rax, %rcx
movq -0x18(%rbp), %rax
movq %rcx, 0x38(%rax)
movq $0x0, 0x40(%rax)
movq $0x0, 0x50(%rax)
cmpq $0x0, 0x38(%rax)
jne 0x40f197
movq $0x668b40, %rdi         # imm = 0x668B40
leaq 0x1cc0bb(%rip), %rsi    # 0x5db220
callq 0x49dd60
movq %rax, %rdi
leaq 0x1ccb92(%rip), %rsi    # 0x5dbd06
callq 0x49dd60
movq %rax, %rdi
leaq 0x1cbf4d(%rip), %rsi    # 0x5db0d0
callq 0x49dd60
movq %rax, %rdi
movq $0x49d640, %rsi         # imm = 0x49D640
callq 0x49c850
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax)
// File: enbock[P]Warp10Server/ulib/src/ByteArray.cpp
// Function: u::ByteArray::cloneFrom(u::ByteArray const&)
void ByteArray::cloneFrom(const ByteArray& value)
{
	size(value._length);
	_position = 0;
	writeBytes(value._buffer, value._length,0);
	_length = value._length;
	_position = value._position;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq 0x50(%rax), %rsi
callq 0x40f2c0
movq -0x18(%rbp), %rdi
movq $0x0, 0x40(%rdi)
movq -0x10(%rbp), %rax
movq 0x38(%rax), %rsi
movq -0x10(%rbp), %rax
movq 0x50(%rax), %rdx
xorl %eax, %eax
movl %eax, %ecx
callq 0x40f3a0
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rcx
movq 0x50(%rcx), %rcx
movq %rcx, 0x50(%rax)
movq -0x10(%rbp), %rcx
movq 0x40(%rcx), %rcx
movq %rcx, 0x40(%rax)
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax)
// File: enbock[P]Warp10Server/ulib/src/ByteArray.cpp
// Function: u::ByteArray::size(unsigned long)
void ByteArray::size(uint64 value)
{
	uint64 newLength, i;
	char* newBuffer;

	_length = value;

	newLength = value+(BYTEARRAY_CHUNK-(value%BYTEARRAY_CHUNK));
	if(newLength == _size) return;

	newBuffer = (char*)realloc(_buffer, newLength);
	if(_buffer == null) error("ByteArray::setSize(): Out of memory.");

	_size = newLength;
	_buffer = newBuffer;
	position(_position); // correct pointer if needed
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rcx
movq %rcx, -0x30(%rbp)
movq -0x10(%rbp), %rax
movq %rax, 0x50(%rcx)
movq -0x10(%rbp), %rax
movq -0x10(%rbp), %rsi
andq $0x3ff, %rsi            # imm = 0x3FF
movl $0x400, %edx            # imm = 0x400
subq %rsi, %rdx
addq %rdx, %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
cmpq 0x48(%rcx), %rax
jne 0x40f30d
jmp 0x40f38e
movq -0x30(%rbp), %rax
movq 0x38(%rax), %rdi
movq -0x18(%rbp), %rsi
callq 0x51a910
movq %rax, %rcx
movq -0x30(%rbp), %rax
movq %rcx, -0x28(%rbp)
cmpq $0x0, 0x38(%rax)
jne 0x40f370
movq $0x668b40, %rdi         # imm = 0x668B40
leaq 0x1cbee2(%rip), %rsi    # 0x5db220
callq 0x49dd60
movq %rax, %rdi
leaq 0x1cca10(%rip), %rsi    # 0x5dbd5d
callq 0x49dd60
movq %rax, %rdi
leaq 0x1cbd74(%rip), %rsi    # 0x5db0d0
callq 0x49dd60
movq %rax, %rdi
movq $0x49d640, %rsi         # imm = 0x49D640
callq 0x49c850
movq -0x30(%rbp), %rdi
movq -0x18(%rbp), %rax
movq %rax, 0x48(%rdi)
movq -0x28(%rbp), %rax
movq %rax, 0x38(%rdi)
movq 0x40(%rdi), %rsi
movq (%rdi), %rax
callq *0x20(%rax)
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: enbock[P]Warp10Server/ulib/src/ByteArray.cpp
// Function: u::ByteArray::writeBytes(char const*, long, long)
int64 ByteArray::writeBytes(const char* bytes, int64 length, int64 offset)
{
	int64 ret = 0;
	if(_position + length >= _size) size(_position+length);
	memcpy(_buffer+_position, bytes+offset, length);
	_position+=length;
	if(_length < _position) _length=_position;
	return length;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x8(%rbp), %rcx
movq %rcx, -0x30(%rbp)
movq $0x0, -0x28(%rbp)
movq 0x40(%rcx), %rax
addq -0x18(%rbp), %rax
cmpq 0x48(%rcx), %rax
jb 0x40f3e7
movq -0x30(%rbp), %rdi
movq 0x40(%rdi), %rsi
addq -0x18(%rbp), %rsi
callq 0x40f2c0
movq -0x30(%rbp), %rax
movq 0x38(%rax), %rdi
addq 0x40(%rax), %rdi
movq -0x10(%rbp), %rsi
addq -0x20(%rbp), %rsi
movq -0x18(%rbp), %rdx
callq 0x401080
movq -0x30(%rbp), %rcx
movq -0x18(%rbp), %rax
addq 0x40(%rcx), %rax
movq %rax, 0x40(%rcx)
movq 0x50(%rcx), %rax
cmpq 0x40(%rcx), %rax
jae 0x40f42a
movq -0x30(%rbp), %rax
movq 0x40(%rax), %rcx
movq %rcx, 0x50(%rax)
movq -0x18(%rbp), %rax
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: enbock[P]Warp10Server/ulib/src/ByteArray.cpp
// Function: u::ByteArray::writeUInt(unsigned long, long, bool, signed char)
void ByteArray::writeUInt(const uint64 value, int64 min, bool noHeader, int8 type)
{
	char maxExp, byte;
	int i;

	maxExp = min;

	while((value >> (8*maxExp)) > 0 && maxExp < sizeof(uint64)) maxExp++;
	//maxExp = (double)(log((double)value)/log((double)256));

	if(noHeader == false)
	{
		writeByte(maxExp);
		writeByte(type);
	}

	for(i=maxExp-1; i>=0; i--)
	{
		byte = (value >> (8*i)) & 0xFF;
		writeByte(byte);
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movb %r8b, %al
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
andb $0x1, %cl
movb %cl, -0x19(%rbp)
movb %al, -0x1a(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x18(%rbp), %rax
movb %al, -0x1b(%rbp)
movq -0x10(%rbp), %rax
movsbl -0x1b(%rbp), %ecx
shll $0x3, %ecx
movl %ecx, %ecx
shrq %cl, %rax
movq %rax, %rcx
xorl %eax, %eax
cmpq $0x0, %rcx
movb %al, -0x29(%rbp)
jbe 0x40fbfc
movsbq -0x1b(%rbp), %rax
cmpq $0x8, %rax
setb %al
movb %al, -0x29(%rbp)
movb -0x29(%rbp), %al
testb $0x1, %al
jne 0x40fc05
jmp 0x40fc0f
movb -0x1b(%rbp), %al
addb $0x1, %al
movb %al, -0x1b(%rbp)
jmp 0x40fbcf
movb -0x19(%rbp), %al
andb $0x1, %al
movzbl %al, %eax
cmpl $0x0, %eax
jne 0x40fc36
movq -0x28(%rbp), %rdi
movzbl -0x1b(%rbp), %esi
callq 0x40fcd0
movq -0x28(%rbp), %rdi
movzbl -0x1a(%rbp), %esi
callq 0x40fcd0
movsbl -0x1b(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x20(%rbp)
cmpl $0x0, -0x20(%rbp)
jl 0x40fc76
movq -0x28(%rbp), %rdi
movq -0x10(%rbp), %rax
movl -0x20(%rbp), %ecx
shll $0x3, %ecx
movl %ecx, %ecx
shrq %cl, %rax
andq $0xff, %rax
movb %al, -0x1c(%rbp)
movzbl -0x1c(%rbp), %esi
callq 0x40fcd0
movl -0x20(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x20(%rbp)
jmp 0x40fc40
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax)
// File: enbock[P]Warp10Server/ulib/src/ByteArray.cpp
// Function: u::ByteArray::writeByte(unsigned char)
void ByteArray::writeByte(const unsigned char value)
{
	// extend the memory
	if(_size <= _position + 1) size(_position + 1);
	_buffer[_position++] = value;
	if(_length < _position) _length=_position;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movb %sil, %al
movq %rdi, -0x8(%rbp)
movb %al, -0x9(%rbp)
movq -0x8(%rbp), %rcx
movq %rcx, -0x18(%rbp)
movq 0x48(%rcx), %rax
movq 0x40(%rcx), %rcx
addq $0x1, %rcx
cmpq %rcx, %rax
ja 0x40fd0c
movq -0x18(%rbp), %rdi
movq 0x40(%rdi), %rsi
addq $0x1, %rsi
callq 0x40f2c0
movq -0x18(%rbp), %rcx
movb -0x9(%rbp), %sil
movq 0x38(%rcx), %rax
movq 0x40(%rcx), %rdx
movq %rdx, %rdi
addq $0x1, %rdi
movq %rdi, 0x40(%rcx)
movb %sil, (%rax,%rdx)
movq 0x50(%rcx), %rax
cmpq 0x40(%rcx), %rax
jae 0x40fd41
movq -0x18(%rbp), %rax
movq 0x40(%rax), %rcx
movq %rcx, 0x50(%rax)
addq $0x20, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: enbock[P]Warp10Server/ulib/src/ByteArray.cpp
// Function: u::ByteArray::writeInt(long, long, bool)
void ByteArray::writeInt(const int64 value, int64 min, bool noHeader)
{
	char type;
	uint64 val;

	if(value < 0)
	{
		type = TYPE_NEGATIVE_INT;
		val = (uint64)(value * (uint64)-1);
	}
	else
	{
		type = TYPE_POSITIVE_INT;
		val = (uint64)value;
	}
	writeUInt(val, min, noHeader, type);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movb %cl, %al
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
andb $0x1, %al
movb %al, -0x19(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x30(%rbp)
cmpq $0x0, -0x10(%rbp)
jge 0x40fd89
movb $0x2, -0x1a(%rbp)
imulq $-0x1, -0x10(%rbp), %rax
movq %rax, -0x28(%rbp)
jmp 0x40fd95
movb $0x1, -0x1a(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x30(%rbp), %rdi
movq -0x28(%rbp), %rsi
movq -0x18(%rbp), %rdx
movb -0x19(%rbp), %al
andb $0x1, %al
movzbl %al, %ecx
movsbl -0x1a(%rbp), %r8d
callq 0x40fba0
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax)
// File: enbock[P]Warp10Server/ulib/src/ByteArray.cpp
// Function: u::ByteArray::readBinary()
ByteArray ByteArray::readBinary()
{
	ByteArray dest;
	uint64 length = this->readInt();
	dest.size(length);
	readBytes(dest._buffer, length, 0);
	return dest;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x50(%rbp)
movq %rdi, %rax
movq %rax, -0x48(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x40(%rbp)
movb $0x0, -0x11(%rbp)
callq 0x40f0a0
movq -0x40(%rbp), %rdi
xorl %eax, %eax
movl %eax, %edx
movq %rdx, %rsi
callq 0x40fe80
movq %rax, -0x38(%rbp)
jmp 0x40fe02
movq -0x50(%rbp), %rdi
movq -0x38(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rsi
callq 0x40f2c0
jmp 0x40fe19
movq -0x40(%rbp), %rdi
movq -0x50(%rbp), %rax
movq 0x38(%rax), %rsi
movq -0x20(%rbp), %rdx
xorl %eax, %eax
movl %eax, %ecx
callq 0x40ff80
jmp 0x40fe34
movb $0x1, -0x11(%rbp)
testb $0x1, -0x11(%rbp)
jne 0x40fe60
jmp 0x40fe57
movq -0x50(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
callq 0x40f1a0
jmp 0x40fe6a
movq -0x50(%rbp), %rdi
callq 0x40f1a0
movq -0x48(%rbp), %rax
addq $0x50, %rsp
popq %rbp
retq
movq -0x28(%rbp), %rdi
callq 0x4deb40
nopw %cs:(%rax,%rax)
// File: enbock[P]Warp10Server/ulib/src/ByteArray.cpp
// Function: u::ByteArray::readInt(long, signed char*)
uint64 ByteArray::readInt(int64 min, int8* type)
{
	int t, i;
	uint64 len, out;
	int64 lout;

	len = min;
	t = TYPE_UINT;
	if(len == 0)
	{
		len = (uint64)readByte();
		t = (int)readByte();
	}

	out=0;
	for(i=len-1; i>=0; i--)
	{
		out += (uint64)readByte() << (8*i);
	}

	if(type != null) *type = t;

	switch(t)
	{
		case TYPE_NEGATIVE_INT:
		{
			lout = (int64)out;
			lout *= -1;
			return lout;
		} break;
		case TYPE_POSITIVE_INT:
		{
			return (int64)out;
		} break;
	}

	return out;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x30(%rbp)
movl $0x0, -0x24(%rbp)
cmpq $0x0, -0x30(%rbp)
jne 0x40fed1
movq -0x48(%rbp), %rdi
callq 0x410000
movq -0x48(%rbp), %rdi
movzbl %al, %eax
movq %rax, -0x30(%rbp)
callq 0x410000
movzbl %al, %eax
movl %eax, -0x24(%rbp)
movq $0x0, -0x38(%rbp)
movq -0x30(%rbp), %rax
subq $0x1, %rax
movl %eax, -0x28(%rbp)
cmpl $0x0, -0x28(%rbp)
jl 0x40ff14
movq -0x48(%rbp), %rdi
callq 0x410000
movzbl %al, %eax
movl -0x28(%rbp), %ecx
shll $0x3, %ecx
movl %ecx, %ecx
shlq %cl, %rax
addq -0x38(%rbp), %rax
movq %rax, -0x38(%rbp)
movl -0x28(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x28(%rbp)
jmp 0x40fee4
cmpq $0x0, -0x20(%rbp)
je 0x40ff26
movl -0x24(%rbp), %eax
movb %al, %cl
movq -0x20(%rbp), %rax
movb %cl, (%rax)
movl -0x24(%rbp), %eax
movl %eax, -0x4c(%rbp)
subl $0x1, %eax
je 0x40ff58
jmp 0x40ff33
movl -0x4c(%rbp), %eax
subl $0x2, %eax
jne 0x40ff62
jmp 0x40ff3d
movq -0x38(%rbp), %rax
movq %rax, -0x40(%rbp)
imulq $-0x1, -0x40(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x40ff6a
movq -0x38(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x40ff6a
movq -0x38(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x50, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: enbock[P]Warp10Server/ulib/src/ByteArray.cpp
// Function: u::ByteArray::readBytes(char*, long, long)
int64 ByteArray::readBytes(char* bytes, int64 length, int64 offset)
{
	size_t len = length;
	if(len + _position > _length) len = _length - _position;
	memcpy(bytes+offset, _buffer+_position, len);
	_position += len;
	return len;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x8(%rbp), %rcx
movq %rcx, -0x30(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
addq 0x40(%rcx), %rax
cmpq 0x50(%rcx), %rax
jbe 0x40ffc6
movq -0x30(%rbp), %rcx
movq 0x50(%rcx), %rax
subq 0x40(%rcx), %rax
movq %rax, -0x28(%rbp)
movq -0x30(%rbp), %rax
movq -0x10(%rbp), %rdi
addq -0x20(%rbp), %rdi
movq 0x38(%rax), %rsi
addq 0x40(%rax), %rsi
movq -0x28(%rbp), %rdx
callq 0x401080
movq -0x30(%rbp), %rax
movq -0x28(%rbp), %rcx
addq 0x40(%rax), %rcx
movq %rcx, 0x40(%rax)
movq -0x28(%rbp), %rax
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax)
// File: enbock[P]Warp10Server/ulib/src/ByteArray.cpp
// Function: u::ByteArray::readString()
String ByteArray::readString()
{
	size_t length;
	char * str;
	length = readInt();
	str = (char *)malloc(length+1);
	if(str)
	{
		readBytes(str, length);
		str[length]=0;
		String out(str);
		free(str);
		return out;
	}
	return (String)"";
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x40(%rbp)
movq %rdi, %rax
movq %rax, -0x38(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0x30(%rbp)
xorl %eax, %eax
movl %eax, %edx
movq %rdx, %rsi
callq 0x40fe80
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
addq $0x1, %rdi
callq 0x51a280
movq %rax, -0x20(%rbp)
cmpq $0x0, -0x20(%rbp)
je 0x4101bb
movq -0x30(%rbp), %rdi
movq -0x20(%rbp), %rsi
movq -0x18(%rbp), %rdx
xorl %eax, %eax
movl %eax, %ecx
callq 0x40ff80
movq -0x40(%rbp), %rdi
movq -0x20(%rbp), %rax
movq -0x18(%rbp), %rcx
movb $0x0, (%rax,%rcx)
movb $0x0, -0x21(%rbp)
movq -0x20(%rbp), %rsi
callq 0x417c40
movq -0x20(%rbp), %rdi
callq 0x51a5c0
movb $0x1, -0x21(%rbp)
testb $0x1, -0x21(%rbp)
jne 0x4101b9
movq -0x40(%rbp), %rdi
callq 0x405650
jmp 0x4101cb
movq -0x40(%rbp), %rdi
leaq 0x1f07dc(%rip), %rsi    # 0x6009a2
callq 0x417c40
movq -0x38(%rbp), %rax
addq $0x40, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: enbock[P]Warp10Server/ulib/src/ByteArray.cpp
// Function: u::ByteArray::writeFloat(float)
void ByteArray::writeFloat(float value)
{
	size_t l = sizeof(float);
	char bin[l];
	memcpy(&bin, &value, l);
	std::reverse(bin, bin+l);
	if(_position + l >= _size) size(_position+l);
	writeBytes(bin, l);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movss %xmm0, -0xc(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x30(%rbp)
movq $0x4, -0x18(%rbp)
movq -0x18(%rbp), %rax
movq %rsp, %rcx
movq %rcx, -0x20(%rbp)
movq %rax, %rcx
addq $0xf, %rcx
andq $-0x10, %rcx
movq %rsp, %rdi
subq %rcx, %rdi
movq %rdi, -0x38(%rbp)
movq %rdi, %rsp
movq %rax, -0x28(%rbp)
movq -0x18(%rbp), %rdx
leaq -0xc(%rbp), %rsi
callq 0x401080
movq -0x38(%rbp), %rdi
movq %rdi, %rsi
addq -0x18(%rbp), %rsi
callq 0x4108c0
movq -0x30(%rbp), %rcx
movq 0x40(%rcx), %rax
addq -0x18(%rbp), %rax
cmpq 0x48(%rcx), %rax
jb 0x410268
movq -0x30(%rbp), %rdi
movq 0x40(%rdi), %rsi
addq -0x18(%rbp), %rsi
callq 0x40f2c0
movq -0x38(%rbp), %rsi
movq -0x30(%rbp), %rdi
movq -0x18(%rbp), %rdx
xorl %eax, %eax
movl %eax, %ecx
callq 0x40f3a0
movq -0x20(%rbp), %rax
movq %rax, %rsp
movq %rbp, %rsp
popq %rbp
retq
nopl (%rax)
// File: enbock[P]Warp10Server/ulib/src/ByteArray.cpp
// Function: u::ByteArray::readFloat()
float ByteArray::readFloat()
{
	size_t l = sizeof(float);
	char bin[l];
	float out;
	readBytes(bin, l);
	std::reverse(bin, bin+l);
	memcpy(&out, &bin, l);
	return out;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq $0x4, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq %rsp, %rcx
movq %rcx, -0x18(%rbp)
movq %rax, %rcx
addq $0xf, %rcx
andq $-0x10, %rcx
movq %rsp, %rsi
subq %rcx, %rsi
movq %rsi, -0x30(%rbp)
movq %rsi, %rsp
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rdx
xorl %eax, %eax
movl %eax, %ecx
callq 0x40ff80
movq -0x30(%rbp), %rdi
movq %rdi, %rsi
addq -0x10(%rbp), %rsi
callq 0x4108c0
movq -0x30(%rbp), %rsi
movq -0x10(%rbp), %rdx
leaq -0x24(%rbp), %rdi
callq 0x401080
movss -0x24(%rbp), %xmm0
movq -0x18(%rbp), %rax
movq %rax, %rsp
movq %rbp, %rsp
popq %rbp
retq
nop
// File: enbock[P]Warp10Server/ulib/src/ByteArray.cpp
// Function: u::ByteArray::uncompress()
void ByteArray::uncompress()
{
	char *ucompr;
	ulong cl;
	uint64 off, sl;
	int err;

	_position=0;
	cl = (uint64)readInt();
	off = _position;
	sl = _length-off;
	ucompr = (char *)malloc(cl);
	err = ::uncompress((Bytef*)ucompr, (uLongf *)&cl, (const Bytef*)_buffer+off, (uLong) sl);
	if(err != Z_OK)
	{
		assert(err == Z_OK && "ByteArray::uncompress(): Decompression error.");
		free(ucompr);
		return;
	}
	size(cl);
	position(0);
	_length = 0;
	writeBytes((const char *)ucompr, cl,0);
	free(ucompr);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x38(%rbp)
movq $0x0, 0x40(%rdi)
xorl %eax, %eax
movl %eax, %edx
movq %rdx, %rsi
callq 0x40fe80
movq %rax, %rcx
movq -0x38(%rbp), %rax
movq %rcx, -0x18(%rbp)
movq 0x40(%rax), %rcx
movq %rcx, -0x20(%rbp)
movq 0x50(%rax), %rax
subq -0x20(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x18(%rbp), %rdi
callq 0x51a280
movq %rax, %rcx
movq -0x38(%rbp), %rax
movq %rcx, -0x10(%rbp)
movq -0x10(%rbp), %rdi
movq 0x38(%rax), %rdx
addq -0x20(%rbp), %rdx
movq -0x28(%rbp), %rcx
leaq -0x18(%rbp), %rsi
callq 0x426470
movl %eax, -0x2c(%rbp)
cmpl $0x0, -0x2c(%rbp)
je 0x4105c4
xorl %eax, %eax
cmpl $0x0, -0x2c(%rbp)
movb %al, -0x39(%rbp)
jne 0x41058f
movb $0x1, %al
movb %al, -0x39(%rbp)
jmp 0x41058f
movb -0x39(%rbp), %al
testb $0x1, %al
jne 0x410598
jmp 0x41059a
jmp 0x4105b9
leaq 0x1cb8a4(%rip), %rdi    # 0x5dbe45
leaq 0x1cb83f(%rip), %rsi    # 0x5dbde7
movl $0x1c2, %edx            # imm = 0x1C2
leaq 0x1cb8d0(%rip), %rcx    # 0x5dbe84
callq 0x4f37a0
movq -0x10(%rbp), %rdi
callq 0x51a5c0
jmp 0x410605
movq -0x38(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0x40f2c0
movq -0x38(%rbp), %rdi
movq (%rdi), %rax
xorl %ecx, %ecx
movl %ecx, %esi
callq *0x20(%rax)
movq -0x38(%rbp), %rdi
movq $0x0, 0x50(%rdi)
movq -0x10(%rbp), %rsi
movq -0x18(%rbp), %rdx
xorl %eax, %eax
movl %eax, %ecx
callq 0x40f3a0
movq -0x10(%rbp), %rdi
callq 0x51a5c0
addq $0x40, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: enbock[P]Warp10Server/ulib/src/ByteArray.cpp
// Function: u::ByteArray::splice(long, long)
bool u::ByteArray::splice(int64 offset, int64 length)
{
	int64 oldSize = this->length();
	position(offset);
	int64 i;
	for(i=0; i < oldSize - length - offset; i++)
	{
		if(offset + i + length < oldSize)
			_buffer[offset + i] = _buffer[offset + i + length];
		else
			break; // end of data block before offset+length
	}
	int64 newSize = this->length() - length;
	if(newSize < 0) newSize=0;
	size(newSize);
	return true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x38(%rbp)
movq (%rdi), %rax
callq *0x38(%rax)
movq -0x38(%rbp), %rdi
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rsi
movq (%rdi), %rax
callq *0x20(%rax)
movq $0x0, -0x28(%rbp)
movq -0x28(%rbp), %rax
movq -0x20(%rbp), %rcx
subq -0x18(%rbp), %rcx
subq -0x10(%rbp), %rcx
cmpq %rcx, %rax
jge 0x4107ed
movq -0x10(%rbp), %rax
addq -0x28(%rbp), %rax
addq -0x18(%rbp), %rax
cmpq -0x20(%rbp), %rax
jge 0x4107db
movq -0x38(%rbp), %rax
movq 0x38(%rax), %rcx
movq -0x10(%rbp), %rdx
addq -0x28(%rbp), %rdx
addq -0x18(%rbp), %rdx
movb (%rcx,%rdx), %dl
movq 0x38(%rax), %rax
movq -0x10(%rbp), %rcx
addq -0x28(%rbp), %rcx
movb %dl, (%rax,%rcx)
jmp 0x4107dd
jmp 0x4107ed
jmp 0x4107df
movq -0x28(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x28(%rbp)
jmp 0x41078c
movq -0x38(%rbp), %rdi
movq (%rdi), %rax
callq *0x38(%rax)
subq -0x18(%rbp), %rax
movq %rax, -0x30(%rbp)
cmpq $0x0, -0x30(%rbp)
jge 0x41080e
movq $0x0, -0x30(%rbp)
movq -0x38(%rbp), %rdi
movq -0x30(%rbp), %rsi
callq 0x40f2c0
movb $0x1, %al
andb $0x1, %al
addq $0x40, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: enbock[P]Warp10Server/ulib/src/RoomOwner.cpp
// Function: u::RoomOwner::toString()
String u::RoomOwner::toString()
{
	String str = "["+className()+"<"+ptr2string(this)+"> Listeners:";
	str+=_room.toString();
	str+="]";
	return str;

}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1d0, %rsp            # imm = 0x1D0
movq %rdi, -0x1c8(%rbp)
movq %rdi, %rax
movq %rax, -0x1c0(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rsi
movq %rsi, -0x1b8(%rbp)
movb $0x0, -0x11(%rbp)
movq (%rsi), %rax
movq 0x8(%rax), %rax
leaq -0xf0(%rbp), %rdi
callq *%rax
leaq -0xb8(%rbp), %rdx
leaq 0x1c2525(%rip), %rsi    # 0x5dc4a6
leaq -0x98(%rbp), %rdi
callq 0x405d50
jmp 0x419f8f
leaq 0x1ca5c5(%rip), %rdx    # 0x5e455b
leaq -0x78(%rbp), %rdi
leaq -0x98(%rbp), %rsi
callq 0x405d00
jmp 0x419fa8
movq -0x1b8(%rbp), %rsi
leaq -0x158(%rbp), %rdi
callq 0x417990
jmp 0x419fbd
leaq -0x120(%rbp), %rdx
leaq -0x58(%rbp), %rdi
leaq -0x78(%rbp), %rsi
callq 0x409d40
jmp 0x419fd3
leaq 0x1c2380(%rip), %rdx    # 0x5dc35a
leaq -0x38(%rbp), %rdi
leaq -0x58(%rbp), %rsi
callq 0x405d00
jmp 0x419fe9
movq -0x1c8(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0x417ce0
jmp 0x419ffb
leaq -0x38(%rbp), %rdi
callq 0x4adc60
leaq -0x58(%rbp), %rdi
callq 0x4adc60
leaq -0x158(%rbp), %rdi
callq 0x405650
leaq -0x78(%rbp), %rdi
callq 0x4adc60
leaq -0x98(%rbp), %rdi
callq 0x4adc60
leaq -0xf0(%rbp), %rdi
callq 0x405650
movq -0x1b8(%rbp), %rsi
addq $0x38, %rsi
leaq -0x1b0(%rbp), %rdi
callq 0x416e80
jmp 0x41a053
movq -0x1c8(%rbp), %rdi
leaq -0x178(%rbp), %rsi
addq $0x38, %rdi
callq 0x4af380
jmp 0x41a06c
leaq -0x1b0(%rbp), %rdi
callq 0x405650
movq -0x1c8(%rbp), %rdi
addq $0x38, %rdi
leaq 0x1e68fc(%rip), %rsi    # 0x600986
callq 0x4af460
jmp 0x41a091
movb $0x1, -0x11(%rbp)
testb $0x1, -0x11(%rbp)
jne 0x41a19e
jmp 0x41a192
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xf8(%rbp)
movl %eax, -0xfc(%rbp)
jmp 0x41a150
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xf8(%rbp)
movl %eax, -0xfc(%rbp)
jmp 0x41a144
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xf8(%rbp)
movl %eax, -0xfc(%rbp)
jmp 0x41a13b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xf8(%rbp)
movl %eax, -0xfc(%rbp)
jmp 0x41a12f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xf8(%rbp)
movl %eax, -0xfc(%rbp)
jmp 0x41a126
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xf8(%rbp)
movl %eax, -0xfc(%rbp)
leaq -0x38(%rbp), %rdi
callq 0x4adc60
leaq -0x58(%rbp), %rdi
callq 0x4adc60
leaq -0x158(%rbp), %rdi
callq 0x405650
leaq -0x78(%rbp), %rdi
callq 0x4adc60
leaq -0x98(%rbp), %rdi
callq 0x4adc60
leaq -0xf0(%rbp), %rdi
callq 0x405650
jmp 0x41a1ba
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xf8(%rbp)
movl %eax, -0xfc(%rbp)
jmp 0x41a1ae
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xf8(%rbp)
movl %eax, -0xfc(%rbp)
leaq -0x1b0(%rbp), %rdi
callq 0x405650
jmp 0x41a1ae
movq -0x1c8(%rbp), %rdi
callq 0x405650
movq -0x1c0(%rbp), %rax
addq $0x1d0, %rsp            # imm = 0x1D0
popq %rbp
retq
movq -0x1c8(%rbp), %rdi
callq 0x405650
movq -0xf8(%rbp), %rdi
callq 0x4deb40
nopw %cs:(%rax,%rax)
// File: enbock[P]Warp10Server/ulib/src/Socket.cpp
// Function: u::Socket::Socket(u::Socket&)
u::Socket::Socket(Socket & value) : Object(value)
{
	_type = value._type;
	_domain = value._domain;
	_protocol = value._protocol;
	_con = -1;
	_hostname = value._hostname;
	_port = value._port;
	maxWaitingClients = SOCKET_MAX_CLIENTS;
	receiveBufferSize = SOCKET_RECV_BUFFER;
	_neverUsed = true;
	_addr = null;
	_addrLen = 0;
	_descriptor = -1;
	_isSending = false;
	init(
		value._domain, value._hostname, value._port, value._type
		, value._protocol
	);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x88(%rbp)
movq -0x10(%rbp), %rsi
callq 0x417780
movq -0x88(%rbp), %rdi
leaq 0x242dc3(%rip), %rax    # 0x65d628
movq %rax, (%rdi)
addq $0x58, %rdi
movq %rdi, -0x80(%rbp)
callq 0x417c00
jmp 0x41a877
movq -0x88(%rbp), %rdi
movq -0x10(%rbp), %rax
movl 0x40(%rax), %eax
movl %eax, 0x40(%rdi)
movq -0x10(%rbp), %rax
movl 0x38(%rax), %eax
movl %eax, 0x38(%rdi)
movq -0x10(%rbp), %rax
movl 0x3c(%rax), %eax
movl %eax, 0x3c(%rdi)
movl $0xffffffff, 0x54(%rdi) # imm = 0xFFFFFFFF
movq -0x10(%rbp), %rsi
addq $0x58, %rsi
addq $0x58, %rdi
callq 0x4180d0
jmp 0x41a8b6
movq -0x88(%rbp), %rax
movq -0x10(%rbp), %rcx
movq 0xb0(%rcx), %rcx
movq %rcx, 0xb0(%rax)
movl $0xc350, 0xbc(%rax)     # imm = 0xC350
movq $0x400, 0xc0(%rax) # imm = 0x400
movb $0x1, 0xb8(%rax)
movq $0x0, 0x48(%rax)
movl $0x0, 0x50(%rax)
movl $0xffffffff, 0x34(%rax) # imm = 0xFFFFFFFF
movb $0x0, 0xb9(%rax)
movq -0x10(%rbp), %rsi
movl 0x38(%rsi), %eax
movl %eax, -0x8c(%rbp)
addq $0x58, %rsi
leaq -0x78(%rbp), %rdi
callq 0x417f20
jmp 0x41a924
movl -0x8c(%rbp), %esi
movq -0x88(%rbp), %rdi
movq -0x10(%rbp), %rax
movq 0xb0(%rax), %rcx
movl 0x3c(%rax), %r9d
movl 0x40(%rax), %r8d
leaq -0x78(%rbp), %rdx
callq 0x41a4b0
jmp 0x41a94f
leaq -0x78(%rbp), %rdi
callq 0x405650
addq $0x90, %rsp
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x41a99b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x41a992
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
leaq -0x78(%rbp), %rdi
callq 0x405650
movq -0x80(%rbp), %rdi
callq 0x405650
movq -0x88(%rbp), %rdi
callq 0x4175e0
movq -0x18(%rbp), %rdi
callq 0x4deb40
// File: enbock[P]Warp10Server/ulib/src/Socket.cpp
// Function: u::Socket::destructor()
void u::Socket::destructor()
{
	if(isConnected()) close();
	lock();

	if(_neverUsed && _descriptor != -1)
	{
		::shutdown(_descriptor, SHUT_RDWR);
		::close(_descriptor);
	}

	switch(_domain)
	{
		case AF_UNIX:
		{
			delete ((struct sockaddr_un *)_addr);
		} break;
		default:
		{
			delete ((struct sockaddr_in *)_addr);
		} break;
	}
	unlock();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x10(%rbp)
callq 0x41aaf0
testb $0x1, %al
jne 0x41aa1f
jmp 0x41aa28
movq -0x10(%rbp), %rdi
callq 0x41ab30
movq -0x10(%rbp), %rdi
callq 0x417410
movq -0x10(%rbp), %rax
testb $0x1, 0xb8(%rax)
je 0x41aa65
movq -0x10(%rbp), %rax
cmpl $-0x1, 0x34(%rax)
je 0x41aa65
movq -0x10(%rbp), %rax
movl 0x34(%rax), %edi
movl $0x2, %esi
callq 0x56e440
movq -0x10(%rbp), %rax
movl 0x34(%rax), %edi
callq 0x56b150
movq -0x10(%rbp), %rax
movl 0x38(%rax), %eax
subl $0x1, %eax
jne 0x41aa95
jmp 0x41aa73
movq -0x10(%rbp), %rax
movq 0x48(%rax), %rax
movq %rax, -0x18(%rbp)
cmpq $0x0, %rax
je 0x41aa93
movq -0x18(%rbp), %rdi
movl $0x6e, %esi
callq 0x433cf0
jmp 0x41aab7
movq -0x10(%rbp), %rax
movq 0x48(%rax), %rax
movq %rax, -0x20(%rbp)
cmpq $0x0, %rax
je 0x41aab5
movq -0x20(%rbp), %rdi
movl $0x10, %esi
callq 0x433cf0
jmp 0x41aab7
movq -0x10(%rbp), %rdi
callq 0x417380
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: enbock[P]Warp10Server/ulib/src/Socket.cpp
// Function: u::Socket::isConnected()
bool u::Socket::isConnected()
{
	lock();
	bool result = _con != -1;
	unlock();
	return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x18(%rbp)
callq 0x417410
movq -0x18(%rbp), %rdi
cmpl $-0x1, 0x54(%rdi)
setne %al
andb $0x1, %al
movb %al, -0x9(%rbp)
callq 0x417380
movb -0x9(%rbp), %al
andb $0x1, %al
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax)
// File: enbock[P]Warp10Server/ulib/src/Socket.cpp
// Function: u::Socket::close()
void u::Socket::close()
{
	if(!isConnected()) return;
	lock();
	_neverUsed = false;
	::shutdown(_descriptor, SHUT_RDWR);
	::close(_descriptor);
	_con = -1;
	_descriptor = -1;
	unlock();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x10(%rbp)
callq 0x41aaf0
testb $0x1, %al
jne 0x41ab4f
jmp 0x41ab93
movq -0x10(%rbp), %rdi
callq 0x417410
movq -0x10(%rbp), %rax
movb $0x0, 0xb8(%rax)
movl 0x34(%rax), %edi
movl $0x2, %esi
callq 0x56e440
movq -0x10(%rbp), %rax
movl 0x34(%rax), %edi
callq 0x56b150
movq -0x10(%rbp), %rdi
movl $0xffffffff, 0x54(%rdi) # imm = 0xFFFFFFFF
movl $0xffffffff, 0x34(%rdi) # imm = 0xFFFFFFFF
callq 0x417380
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax)
// File: enbock[P]Warp10Server/ulib/src/Socket.cpp
// Function: u::Socket::operator=(u::Socket&)
Socket& u::Socket::operator =(Socket &value)
{
	destructor();
	Socket(
		value._domain, value._hostname, value._port, value._type
		, value._protocol
	);
	if(value.isConnected())
	{
		connect();
	}
	return *this;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x160, %rsp            # imm = 0x160
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x158(%rbp)
callq 0x41aa00
movq -0x10(%rbp), %rsi
movl 0x38(%rsi), %eax
movl %eax, -0x14c(%rbp)
addq $0x58, %rsi
leaq -0x130(%rbp), %rdi
movq %rdi, -0x148(%rbp)
callq 0x417f20
movl -0x14c(%rbp), %esi
movq -0x148(%rbp), %rdx
movq -0x10(%rbp), %rax
movq 0xb0(%rax), %rcx
movl 0x3c(%rax), %r9d
movl 0x40(%rax), %r8d
leaq -0xd8(%rbp), %rdi
callq 0x41a3a0
jmp 0x41ac55
leaq -0xd8(%rbp), %rdi
callq 0x41a9b0
leaq -0x130(%rbp), %rdi
callq 0x405650
movq -0x10(%rbp), %rdi
callq 0x41aaf0
testb $0x1, %al
jne 0x41ac7c
jmp 0x41acaa
movq -0x158(%rbp), %rdi
callq 0x41acd0
jmp 0x41acaa
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x138(%rbp)
movl %eax, -0x13c(%rbp)
leaq -0x130(%rbp), %rdi
callq 0x405650
jmp 0x41acba
movq -0x158(%rbp), %rax
addq $0x160, %rsp            # imm = 0x160
popq %rbp
retq
movq -0x138(%rbp), %rdi
callq 0x4deb40
nopw %cs:(%rax,%rax)
// File: enbock[P]Warp10Server/ulib/src/Socket.cpp
// Function: u::Socket::hasIncomingData()
bool u::Socket::hasIncomingData()
{
	fd_set rfds;
	struct timeval tv;
	int retval;

	FD_ZERO(&rfds);
	FD_SET(_descriptor, &rfds);

	tv.tv_sec = 0;
	tv.tv_usec = 0;

	lock();
	retval = select(_descriptor+1, &rfds, NULL, NULL, &tv);
	unlock();

	return retval > 0;

}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0xb0(%rbp)
leaq -0x88(%rbp), %rax
movq %rax, -0xa8(%rbp)
movl $0x0, -0xa0(%rbp)
movl -0xa0(%rbp), %eax
cmpq $0x10, %rax
jae 0x41c4f4
movq -0xa8(%rbp), %rax
movl -0xa0(%rbp), %ecx
movq $0x0, (%rax,%rcx,8)
movl -0xa0(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xa0(%rbp)
jmp 0x41c4c2
jmp 0x41c4f6
movq -0xb0(%rbp), %rdi
movl 0x34(%rdi), %eax
movl $0x40, %ecx
cltd
idivl %ecx
movl %edx, %eax
movl %eax, %ecx
movl $0x1, %eax
shlq %cl, %rax
movq %rax, %rcx
movl 0x34(%rdi), %eax
movl $0x40, %esi
cltd
idivl %esi
cltq
orq -0x88(%rbp,%rax,8), %rcx
movq %rcx, -0x88(%rbp,%rax,8)
movq $0x0, -0x98(%rbp)
movq $0x0, -0x90(%rbp)
callq 0x417410
movq -0xb0(%rbp), %rax
movl 0x34(%rax), %edi
addl $0x1, %edi
leaq -0x88(%rbp), %rsi
xorl %eax, %eax
movl %eax, %ecx
leaq -0x98(%rbp), %r8
movq %rcx, %rdx
callq 0x56bf90
movq -0xb0(%rbp), %rdi
movl %eax, -0x9c(%rbp)
callq 0x417380
cmpl $0x0, -0x9c(%rbp)
setg %al
andb $0x1, %al
addq $0xb0, %rsp
popq %rbp
retq
nopl (%rax)
// File: enbock[P]Warp10Server/ulib/src/Socket.cpp
// Function: u::Socket::hostip()
String u::Socket::hostip()
{
	if(!isConnected()) return "unknown";
	switch(_domain)
	{
		case AF_UNIX:
		{
			return "127.0.0.1";
		} break;
		default:
		{
			return inet_ntoa(((struct sockaddr_in*)_addr)->sin_addr);
		} break;
	}

	return "";
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x30(%rbp)
movq %rdi, %rax
movq %rax, -0x28(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0x20(%rbp)
callq 0x41aaf0
testb $0x1, %al
jne 0x41c5de
movq -0x30(%rbp), %rdi
leaq 0x1c0045(%rip), %rsi    # 0x5dc61c
callq 0x417c40
jmp 0x41c620
movq -0x20(%rbp), %rax
movl 0x38(%rax), %eax
subl $0x1, %eax
jne 0x41c5fe
jmp 0x41c5ec
movq -0x30(%rbp), %rdi
leaq 0x1c002d(%rip), %rsi    # 0x5dc624
callq 0x417c40
jmp 0x41c620
movq -0x20(%rbp), %rax
movq 0x48(%rax), %rax
movl 0x4(%rax), %eax
movl %eax, -0x14(%rbp)
movl -0x14(%rbp), %edi
callq 0x56ee80
movq -0x30(%rbp), %rdi
movq %rax, %rsi
callq 0x417c40
movq -0x28(%rbp), %rax
addq $0x30, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: enbock[P]Warp10Server/ulib/src/Socket.cpp
// Function: u::Socket::accept()
u::Socket* u::Socket::accept()
{
	Socket* clientSocket; 		// client socket data

	lock();
	int32 srcDescriptor = _descriptor;
	int32 domain = _domain;
	unlock();

	if(srcDescriptor == -1) return null;

	clientSocket = new Socket(domain);
	::close(clientSocket->_descriptor); // try to destroy socket..not needed

	clientSocket->_descriptor = ::accept(
		srcDescriptor
		, (struct sockaddr *)(clientSocket->_addr)
		, &(clientSocket->_addrLen)
	);

	if(clientSocket->_descriptor != -1)
	{
		clientSocket->_con = 1; // set manually to connected status
		return clientSocket;
	}

	clientSocket->destroy();
	return null;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0x90(%rbp)
callq 0x417410
movq -0x90(%rbp), %rdi
movl 0x34(%rdi), %eax
movl %eax, -0x1c(%rbp)
movl 0x38(%rdi), %eax
movl %eax, -0x20(%rbp)
callq 0x417380
cmpl $-0x1, -0x1c(%rbp)
jne 0x41c6ca
movq $0x0, -0x8(%rbp)
jmp 0x41c7e0
movl $0xc8, %edi
callq 0x434cd0
movq %rax, -0xa0(%rbp)
movb $0x1, -0x85(%rbp)
movl -0x20(%rbp), %eax
movl %eax, -0x94(%rbp)
leaq 0x1bff3c(%rip), %rsi    # 0x5dc62e
leaq -0x78(%rbp), %rdi
callq 0x417c40
jmp 0x41c6fd
movl -0x94(%rbp), %esi
movq -0xa0(%rbp), %rdi
xorl %r9d, %r9d
movl %r9d, %ecx
leaq -0x78(%rbp), %rdx
movl $0x1, %r8d
callq 0x41a3a0
jmp 0x41c721
movq -0xa0(%rbp), %rax
movb $0x0, -0x85(%rbp)
movq %rax, -0x18(%rbp)
leaq -0x78(%rbp), %rdi
callq 0x405650
movq -0x18(%rbp), %rax
movl 0x34(%rax), %edi
callq 0x56b150
movl -0x1c(%rbp), %edi
movq -0x18(%rbp), %rax
movq 0x48(%rax), %rsi
movq -0x18(%rbp), %rdx
addq $0x50, %rdx
callq 0x56e0b0
movl %eax, %ecx
movq -0x18(%rbp), %rax
movl %ecx, 0x34(%rax)
movq -0x18(%rbp), %rax
cmpl $-0x1, 0x34(%rax)
je 0x41c7cf
movq -0x18(%rbp), %rax
movl $0x1, 0x54(%rax)
movq -0x18(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x41c7e0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x80(%rbp)
movl %eax, -0x84(%rbp)
jmp 0x41c7b1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x80(%rbp)
movl %eax, -0x84(%rbp)
leaq -0x78(%rbp), %rdi
callq 0x405650
testb $0x1, -0x85(%rbp)
jne 0x41c7bc
jmp 0x41c7cd
movq -0xa0(%rbp), %rdi
movl $0xc8, %esi
callq 0x433cf0
jmp 0x41c7ed
movq -0x18(%rbp), %rdi
movq (%rdi), %rax
callq *(%rax)
movq $0x0, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0xa0, %rsp
popq %rbp
retq
movq -0x80(%rbp), %rdi
callq 0x4deb40
nopw %cs:(%rax,%rax)
// File: enbock[P]Warp10Server/ulib/src/Network/Manager.cpp
// Function: u::Network::Manager::Manager()
Manager::Manager() : EventRoom()
{
	_isClosing = false;
	addEventListener(
		Event::REGISTER_NETWORK
		, Callback(this, cb_cast(&Network::Manager::onRegisterNetwork))
	);
	addEventListener(
		Event::REQUEST_LISTENER
		, Callback(this, cb_cast(&Network::Manager::onRequestListener))
	);
	addEventListener(
		Event::CLOSE
		, Callback(this, cb_cast(&Network::Manager::onCloseRequest))
	);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x170, %rsp            # imm = 0x170
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x160(%rbp)
callq 0x416db0
movq -0x160(%rbp), %rdi
leaq 0x23d743(%rip), %rax    # 0x65d760
movq %rax, (%rdi)
addq $0x88, %rdi
movq %rdi, -0x158(%rbp)
callq 0x422950
jmp 0x420035
movq -0x160(%rbp), %rdi
addq $0x110, %rdi            # imm = 0x110
movq %rdi, -0x168(%rbp)
callq 0x4214a0
jmp 0x420051
movq -0x160(%rbp), %rsi
movb $0x0, 0x160(%rsi)
movq $0x0, -0x78(%rbp)
movq $0x21, -0x80(%rbp)
movq -0x80(%rbp), %rdx
movq -0x78(%rbp), %rcx
xorl %eax, %eax
movl %eax, %r8d
leaq -0x70(%rbp), %rdi
callq 0x410a10
jmp 0x420087
movq -0x160(%rbp), %rdi
movq $0x667ac8, %rsi         # imm = 0x667AC8
leaq -0x70(%rbp), %rdx
callq 0x412620
jmp 0x4200a0
leaq -0x70(%rbp), %rdi
callq 0x407e40
movq -0x160(%rbp), %rsi
movq $0x0, -0xe0(%rbp)
movq $0x29, -0xe8(%rbp)
movq -0xe8(%rbp), %rdx
movq -0xe0(%rbp), %rcx
xorl %eax, %eax
movl %eax, %r8d
leaq -0xd8(%rbp), %rdi
callq 0x410a10
jmp 0x4200e7
movq -0x160(%rbp), %rdi
movq $0x667b20, %rsi         # imm = 0x667B20
leaq -0xd8(%rbp), %rdx
callq 0x412620
jmp 0x420103
leaq -0xd8(%rbp), %rdi
callq 0x407e40
movq -0x160(%rbp), %rsi
movq $0x0, -0x148(%rbp)
movq $0x39, -0x150(%rbp)
movq -0x150(%rbp), %rdx
movq -0x148(%rbp), %rcx
xorl %eax, %eax
movl %eax, %r8d
leaq -0x140(%rbp), %rdi
callq 0x410a10
jmp 0x42014d
movq -0x160(%rbp), %rdi
movq $0x667c28, %rsi         # imm = 0x667C28
leaq -0x140(%rbp), %rdx
callq 0x412620
jmp 0x420169
leaq -0x140(%rbp), %rdi
callq 0x407e40
addq $0x170, %rsp            # imm = 0x170
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
jmp 0x420209
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
jmp 0x4201fd
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
jmp 0x4201f1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
leaq -0x70(%rbp), %rdi
callq 0x407e40
jmp 0x4201f1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
leaq -0xd8(%rbp), %rdi
callq 0x407e40
jmp 0x4201f1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
leaq -0x140(%rbp), %rdi
callq 0x407e40
movq -0x168(%rbp), %rdi
callq 0x421510
movq -0x158(%rbp), %rdi
callq 0x422bc0
movq -0x160(%rbp), %rdi
callq 0x416e30
movq -0x10(%rbp), %rdi
callq 0x4deb40
nop
// File: enbock[P]Warp10Server/ulib/src/Network/Manager.cpp
// Function: u::Network::Manager::onRegisterNetwork(u::Object*)
void Manager::onRegisterNetwork(Object *arg)
{
	Event* event = ((Event*) arg);

	lock();
	if (_builder.hasKey(event->networkType) == false) {
		_builder[event->networkType] = event->builder;
		Event response(
			Event::NETWORK_REGISTERED
			, event->networkType
		);
		unlock();
		dispatchEvent(&response);
	} else {
		unlock();
	}

	event->destroy();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x240, %rsp            # imm = 0x240
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x208(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x18(%rbp)
callq 0x417410
movq -0x208(%rbp), %rax
addq $0x88, %rax
movq %rax, -0x200(%rbp)
movq -0x18(%rbp), %rsi
addq $0x58, %rsi
leaq -0x70(%rbp), %rdi
movq %rdi, -0x1f8(%rbp)
callq 0x417f20
movq -0x200(%rbp), %rdi
movq -0x1f8(%rbp), %rsi
callq 0x4233d0
movb %al, -0x1e9(%rbp)
jmp 0x420712
movb -0x1e9(%rbp), %al
andb $0x1, %al
movzbl %al, %eax
movl %eax, -0x20c(%rbp)
leaq -0x70(%rbp), %rdi
callq 0x405650
movl -0x20c(%rbp), %eax
cmpl $0x0, %eax
jne 0x42088b
movq -0x208(%rbp), %rax
movq -0x18(%rbp), %rsi
movq 0x48(%rsi), %rcx
movq %rcx, -0x230(%rbp)
addq $0x88, %rax
movq %rax, -0x228(%rbp)
addq $0x58, %rsi
leaq -0xd8(%rbp), %rdi
movq %rdi, -0x220(%rbp)
callq 0x417f20
movq -0x228(%rbp), %rdi
movq -0x220(%rbp), %rsi
callq 0x422d60
movq %rax, -0x218(%rbp)
jmp 0x420791
movq -0x230(%rbp), %rsi
movq -0x218(%rbp), %rdi
callq 0x423150
jmp 0x4207a6
leaq -0xd8(%rbp), %rdi
callq 0x405650
movq -0x18(%rbp), %rsi
addq $0x58, %rsi
leaq -0x1e8(%rbp), %rdi
movq %rdi, -0x238(%rbp)
callq 0x417f20
movq -0x238(%rbp), %rdx
movq $0x667b78, %rsi         # imm = 0x667B78
leaq -0x190(%rbp), %rdi
callq 0x41fc80
jmp 0x4207e9
leaq -0x1e8(%rbp), %rdi
callq 0x405650
movq -0x208(%rbp), %rdi
callq 0x417380
jmp 0x420803
movq -0x208(%rbp), %rdi
leaq -0x190(%rbp), %rsi
callq 0x412820
jmp 0x420818
leaq -0x190(%rbp), %rdi
callq 0x41fee0
jmp 0x420897
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
leaq -0x70(%rbp), %rdi
callq 0x405650
jmp 0x4208a9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
leaq -0xd8(%rbp), %rdi
callq 0x405650
jmp 0x4208a9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
leaq -0x1e8(%rbp), %rdi
callq 0x405650
jmp 0x4208a9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
leaq -0x190(%rbp), %rdi
callq 0x41fee0
jmp 0x4208a9
movq -0x208(%rbp), %rdi
callq 0x417380
movq -0x18(%rbp), %rdi
movq (%rdi), %rax
callq *(%rax)
addq $0x240, %rsp            # imm = 0x240
popq %rbp
retq
movq -0x78(%rbp), %rdi
callq 0x4deb40
nopw %cs:(%rax,%rax)
// File: enbock[P]Warp10Server/ulib/src/Network/Manager.cpp
// Function: u::Network::Manager::onListenerClosed(u::Object*)
void Manager::onListenerClosed(Object *arg)
{
	Event* event = ((Event*) arg);
	lock();
	Network::IListener* listener = ((Network::IListener*) event->target());
	if (_listener.erase(listener) != -1) {
		// Destroy only when owned.
		listener->removeEventListener(
			Event::CLOSED
			, Callback(this, cb_cast(&Network::Manager::onListenerClosed))
		);
		listener->destroy();

		unlock();
		checkForCloseState();
	} else {
		unlock();
	}
	event->destroy();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0xa0(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x18(%rbp)
callq 0x417410
movq -0x18(%rbp), %rdi
callq 0x411090
movq -0xa0(%rbp), %rdi
movq %rax, -0x20(%rbp)
addq $0x110, %rdi            # imm = 0x110
movq -0x20(%rbp), %rsi
callq 0x421590
cmpq $-0x1, %rax
je 0x420f44
movq -0xa0(%rbp), %rsi
movq -0x20(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq $0x0, -0x80(%rbp)
movq $0x31, -0x88(%rbp)
movq -0x88(%rbp), %rdx
movq -0x80(%rbp), %rcx
xorl %eax, %eax
movl %eax, %r8d
leaq -0x78(%rbp), %rdi
movq %rdi, -0xa8(%rbp)
callq 0x410a10
movq -0xb0(%rbp), %rdi
movq -0xa8(%rbp), %rdx
movq $0x667c80, %rsi         # imm = 0x667C80
callq 0x4126f0
jmp 0x420efa
leaq -0x78(%rbp), %rdi
callq 0x407e40
movq -0x20(%rbp), %rdi
movq (%rdi), %rax
callq *(%rax)
movq -0xa0(%rbp), %rdi
callq 0x417380
movq -0xa0(%rbp), %rdi
movq (%rdi), %rax
callq *0x40(%rax)
jmp 0x420f50
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
leaq -0x78(%rbp), %rdi
callq 0x407e40
jmp 0x420f62
movq -0xa0(%rbp), %rdi
callq 0x417380
movq -0x18(%rbp), %rdi
movq (%rdi), %rax
callq *(%rax)
addq $0xb0, %rsp
popq %rbp
retq
movq -0x90(%rbp), %rdi
callq 0x4deb40
nop
// File: enbock[P]Warp10Server/ulib/src/Network/Manager.cpp
// Function: u::Network::Manager::checkForCloseState()
void Manager::checkForCloseState()
{
	lock();
	if (_listener.length() == 0) {
		trace(className() + ": All closed.");
		Event closed(Event::CLOSED);
		unlock();
		dispatchEvent(&closed);
	} else {
		unlock();
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x180, %rsp            # imm = 0x180
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x158(%rbp)
callq 0x417410
movq -0x158(%rbp), %rdi
addq $0x110, %rdi            # imm = 0x110
callq 0x421620
cmpq $0x0, %rax
jne 0x42147b
movq $0x668c60, %rdi         # imm = 0x668C60
leaq 0x1b9df7(%rip), %rsi    # 0x5db091
callq 0x49dd60
movq %rax, -0x160(%rbp)
movb $0x0, -0x81(%rbp)
movb $0x0, -0x96(%rbp)
movb $0x1, %al
testb $0x1, %al
jne 0x4212bc
jmp 0x4212ef
movq -0x158(%rbp), %rsi
movq (%rsi), %rax
movq 0x8(%rax), %rax
leaq -0x80(%rbp), %rdi
callq *%rax
movb $0x1, -0x81(%rbp)
leaq -0x48(%rbp), %rsi
leaq 0x1bb9f3(%rip), %rdx    # 0x5dccd5
leaq -0x28(%rbp), %rdi
callq 0x405d00
jmp 0x4212ed
jmp 0x421324
leaq -0x95(%rbp), %rdi
movq %rdi, -0x168(%rbp)
callq 0x435b90
movq -0x168(%rbp), %rdx
movb $0x1, -0x96(%rbp)
leaq 0x1df68b(%rip), %rsi    # 0x6009a2
leaq -0x28(%rbp), %rdi
callq 0x407e60
jmp 0x421322
jmp 0x421324
movq -0x160(%rbp), %rdi
leaq -0x28(%rbp), %rsi
callq 0x4b05e0
movq %rax, -0x170(%rbp)
jmp 0x42133d
movq -0x170(%rbp), %rdi
leaq 0x1b9d85(%rip), %rsi    # 0x5db0d0
callq 0x49dd60
movq %rax, -0x178(%rbp)
jmp 0x421359
movq -0x178(%rbp), %rdi
movq $0x49d640, %rsi         # imm = 0x49D640
callq 0x49c850
jmp 0x42136e
leaq -0x28(%rbp), %rdi
callq 0x4adc60
testb $0x1, -0x96(%rbp)
jne 0x421382
jmp 0x42138e
leaq -0x95(%rbp), %rdi
callq 0x435bb0
testb $0x1, -0x81(%rbp)
jne 0x421399
jmp 0x4213a2
leaq -0x80(%rbp), %rdi
callq 0x405650
movq $0x667c80, %rsi         # imm = 0x667C80
leaq -0x150(%rbp), %rdi
callq 0x41fd30
movq -0x158(%rbp), %rdi
callq 0x417380
jmp 0x4213c3
movq -0x158(%rbp), %rdi
leaq -0x150(%rbp), %rsi
callq 0x412820
jmp 0x4213d8
leaq -0x150(%rbp), %rdi
callq 0x41fee0
jmp 0x421487
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
jmp 0x421445
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
jmp 0x42142c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
leaq -0x28(%rbp), %rdi
callq 0x4adc60
testb $0x1, -0x96(%rbp)
jne 0x421437
jmp 0x421443
leaq -0x95(%rbp), %rdi
callq 0x435bb0
jmp 0x421445
testb $0x1, -0x81(%rbp)
jne 0x421450
jmp 0x421459
leaq -0x80(%rbp), %rdi
callq 0x405650
jmp 0x421490
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
leaq -0x150(%rbp), %rdi
callq 0x41fee0
jmp 0x421490
movq -0x158(%rbp), %rdi
callq 0x417380
addq $0x180, %rsp            # imm = 0x180
popq %rbp
retq
movq -0x90(%rbp), %rdi
callq 0x4deb40
nopl (%rax)
// File: enbock[P]Warp10Server/ulib/src/Datablock.cpp
// Function: u::Datablock::operator=(u::Datablock&)
Datablock& Datablock::operator=(Datablock& value)
{
	deleteAttributes();

	int64 i, l;
	l = value._list.size();
	for(i=0; i<l; i++)
	{
		saveAttribute(value._list[i]);
	}
	return *this;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x28(%rbp)
callq 0x422ac0
movq -0x10(%rbp), %rdi
addq $0x38, %rdi
addq $0x38, %rdi
callq 0x4236f0
movq %rax, -0x20(%rbp)
movq $0x0, -0x18(%rbp)
movq -0x18(%rbp), %rax
cmpq -0x20(%rbp), %rax
jge 0x422aaf
movq -0x10(%rbp), %rdi
addq $0x38, %rdi
movq -0x18(%rbp), %rsi
callq 0x423710
movq -0x28(%rbp), %rdi
movq %rax, %rsi
callq 0x422b30
movq -0x18(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x18(%rbp)
jmp 0x422a7a
movq -0x28(%rbp), %rax
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax)