LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/enbock[P]Warp10Server/warp10server/src/Network/WebListener.cpp
// Function: Warp10::Network::WebListener::onConnectionClosed(u::Object*)
void WebListener::onConnectionClosed(Object *arg)
{
	u::Network::Event* event = ((u::Network::Event*)arg);
	IConnection* connection  = ((IConnection*)event->target());
	lock();
	int64 index = _connections.erase(connection);
	if (index != -1) {
		trace(
			className() + "::onConnectionClosed: Removed connection from list."
		);
		connection->removeEventListener(
			u::Network::Event::CLOSED
			, Callback(this, cb_cast(&WebListener::onConnectionClosed))
		);
		connection->destroy();
	}
	bool isClosed = _isClosed;
	unlock();
	if (isClosed == true) {
		checkClosed();
	}

	event->destroy();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd8, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq 0x40c31c
movq %rax, %r15
movq %r14, %rdi
callq 0x410226
leaq 0x98(%r14), %rdi
movq %r15, %rsi
callq 0x40a85c
cmpq $-0x1, %rax
je 0x40a795
movq $0x653c40, %rdi         # imm = 0x653C40
leaq 0x1c3a3a(%rip), %rsi    # 0x5ce091
movl $0x4, %edx
callq 0x490910
movq (%r14), %rax
leaq 0x28(%rsp), %rdi
movq %r14, %rsi
callq *0x8(%rax)
leaq 0x60(%rsp), %rdi
leaq 0x1c4026(%rip), %rsi    # 0x5ce6a1
callq 0x4a24f0
leaq 0x18(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rsi
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rsi
je 0x40a6a7
movq %rsi, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x40a6b2
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq %r13, %rsi
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq $0x653c40, %rdi         # imm = 0x653C40
callq 0x490910
movq %rax, %r12
leaq 0x1c39cb(%rip), %rsi    # 0x5ce0ab
movl $0x4, %edx
movq %rax, %rdi
callq 0x490910
movq (%r12), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x471a60
movsbl %al, %esi
movq %r12, %rdi
callq 0x490410
movq %rax, %rdi
callq 0x48f9e0
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x40a72c
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x426e30
leaq 0x70(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x40a747
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x426e30
leaq 0x28(%rsp), %rdi
callq 0x410332
leaq 0x80(%rsp), %r12
movl $0x49, %edx
movq %r12, %rdi
movq %r14, %rsi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x40bcd8
movq $0x652c60, %rsi         # imm = 0x652C60
movq %r15, %rdi
movq %r12, %rdx
callq 0x40dfa4
leaq 0x80(%rsp), %rdi
callq 0x410332
movq (%r15), %rax
movq %r15, %rdi
callq *(%rax)
movb 0xe8(%r14), %bpl
movq %r14, %rdi
callq 0x4101de
cmpb $0x1, %bpl
jne 0x40a7b3
movq (%r14), %rax
movq %r14, %rdi
callq *0x28(%rax)
movq (%rbx), %rax
movq %rbx, %rdi
callq *(%rax)
addq $0xd8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
callq 0x410332
jmp 0x40a808
movq %rax, %rbx
jmp 0x40a7fe
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x40a7fe
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x426e30
leaq 0x28(%rsp), %rdi
callq 0x40512c
movq %rbx, %rdi
callq 0x4d10c0
// File: /workspace/github_cpp_makefile_star2_O3/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 %rbx
movq %rdi, %rbx
movq $0x400, 0x48(%rdi)      # imm = 0x400
movl $0x400, %edi            # imm = 0x400
callq 0x50c800
movq %rax, 0x38(%rbx)
xorl %ecx, %ecx
movq %rcx, 0x40(%rbx)
movq %rcx, 0x50(%rbx)
testq %rax, %rax
je 0x40ad5b
popq %rbx
retq
movq $0x653b20, %rbx         # imm = 0x653B20
leaq 0x1c33ea(%rip), %rsi    # 0x5ce153
movl $0x7, %edx
movq %rbx, %rdi
callq 0x490910
leaq 0x1c3a17(%rip), %rsi    # 0x5ce794
movl $0x26, %edx
movq %rbx, %rdi
callq 0x490910
leaq 0x1c331a(%rip), %rsi    # 0x5ce0ab
movl $0x4, %edx
movq %rbx, %rdi
callq 0x490910
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x471a60
movsbl %al, %esi
movq %rbx, %rdi
callq 0x490410
movq %rax, %rdi
popq %rbx
jmp 0x48f9e0
// File: /workspace/github_cpp_makefile_star2_O3/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 %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x50(%rsi), %rsi
callq 0x40ae74
movq $0x0, 0x40(%r14)
movq 0x38(%rbx), %rsi
movq 0x50(%rbx), %rdx
movq %r14, %rdi
xorl %ecx, %ecx
callq 0x40af4a
movq 0x50(%rbx), %rax
movq %rax, 0x50(%r14)
movq 0x40(%rbx), %rax
movq %rax, 0x40(%r14)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rsi, 0x50(%rdi)
andq $-0x400, %r14           # imm = 0xFC00
addq $0x400, %r14            # imm = 0x400
cmpq 0x48(%rdi), %r14
jne 0x40aea3
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rdi, %rbx
movq 0x38(%rdi), %rdi
movq %r14, %rsi
callq 0x50ce90
movq %rax, %r15
cmpq $0x0, 0x38(%rbx)
jne 0x40af27
movq $0x653b20, %r12         # imm = 0x653B20
leaq 0x1c3289(%rip), %rsi    # 0x5ce153
movl $0x7, %edx
movq %r12, %rdi
callq 0x490910
leaq 0x1c390d(%rip), %rsi    # 0x5ce7eb
movl $0x24, %edx
movq %r12, %rdi
callq 0x490910
leaq 0x1c31b9(%rip), %rsi    # 0x5ce0ab
movl $0x4, %edx
movq %r12, %rdi
callq 0x490910
movq (%r12), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x471a60
movsbl %al, %esi
movq %r12, %rdi
callq 0x490410
movq %rax, %rdi
callq 0x48f9e0
movq %r14, 0x48(%rbx)
movq %r15, 0x38(%rbx)
movq (%rbx), %rax
movq 0x40(%rbx), %rsi
movq 0x20(%rax), %rax
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmpq *%rax
// File: /workspace/github_cpp_makefile_star2_O3/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 %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r12
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
movq 0x40(%rdi), %rdi
leaq (%rdi,%rdx), %rsi
cmpq 0x48(%r14), %rsi
jb 0x40af78
movq %r14, %rdi
callq 0x40ae74
movq 0x40(%r14), %rdi
addq 0x38(%r14), %rdi
addq %r12, %r15
movq %r15, %rsi
movq %rbx, %rdx
callq 0x401080
movq 0x40(%r14), %rax
addq %rbx, %rax
movq %rax, 0x40(%r14)
cmpq %rax, 0x50(%r14)
jae 0x40af9f
movq %rax, 0x50(%r14)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r8d, %ebp
movl %ecx, %eax
movq %rsi, %rbx
movq %rdi, %r14
movsbl %dl, %r12d
leaq -0x10(,%r12,8), %r15
decb %dl
leal (,%r12,8), %ecx
movl %r12d, %edi
movq %rbx, %rsi
shrq %cl, %rsi
leal 0x1(%rdi), %r12d
addq $0x8, %r15
incb %dl
cmpl $0x7, %edi
ja 0x40b532
addl $0x8, %ecx
testq %rsi, %rsi
jne 0x40b512
leal -0x1(%r12), %r13d
testb %al, %al
jne 0x40b552
movzbl %dl, %esi
movq %r14, %rdi
callq 0x40b596
movzbl %bpl, %esi
movq %r14, %rdi
callq 0x40b596
testl %r13d, %r13d
jle 0x40b57b
movl %r15d, %ecx
andb $-0x8, %cl
movq %rbx, %rax
shrq %cl, %rax
movzbl %al, %esi
movq %r14, %rdi
callq 0x40b596
decl %r12d
addq $-0x8, %r15
cmpl $0x1, %r12d
jg 0x40b557
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/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 %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
callq 0x40ace4
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x40b67e
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x40ae74
movq 0x40(%r14), %rsi
movq 0x50(%r14), %rax
leaq (%rsi,%r15), %rcx
movq %rax, %r12
subq %rsi, %r12
cmpq %rax, %rcx
cmovbeq %r15, %r12
movq 0x38(%rbx), %rdi
addq 0x38(%r14), %rsi
movq %r12, %rdx
callq 0x401080
addq %r12, 0x40(%r14)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x40adc6
movq %r14, %rdi
callq 0x4d10c0
// File: /workspace/github_cpp_makefile_star2_O3/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:
testq %rsi, %rsi
jne 0x40b6be
movq 0x40(%rdi), %rax
movq 0x50(%rdi), %rcx
cmpq %rcx, %rax
jae 0x40b6a5
movq 0x38(%rdi), %rsi
leaq 0x1(%rax), %r8
movq %r8, 0x40(%rdi)
movzbl (%rsi,%rax), %esi
movq %r8, %rax
jmp 0x40b6a7
xorl %esi, %esi
cmpq %rcx, %rax
jae 0x40b6be
movq 0x38(%rdi), %rcx
leaq 0x1(%rax), %r8
movq %r8, 0x40(%rdi)
movb (%rcx,%rax), %r8b
jmp 0x40b6c1
xorl %r8d, %r8d
pushq %r14
pushq %rbx
decl %esi
js 0x40b70a
movq 0x50(%rdi), %rax
movq 0x38(%rdi), %r9
movq 0x40(%rdi), %r10
movl %esi, %ecx
leaq 0x1(%rcx), %r11
shlq $0x3, %rcx
xorl %esi, %esi
cmpq %rax, %r10
jae 0x40b6f7
leaq 0x1(%r10), %r14
movq %r14, 0x40(%rdi)
movzbl (%r9,%r10), %ebx
movq %r14, %r10
jmp 0x40b6f9
xorl %ebx, %ebx
shlq %cl, %rbx
addq %rbx, %rsi
addq $-0x8, %rcx
decq %r11
jg 0x40b6e0
jmp 0x40b70c
xorl %esi, %esi
testq %rdx, %rdx
popq %rbx
popq %r14
je 0x40b717
movb %r8b, (%rdx)
movq %rsi, %rax
negq %rax
cmpb $0x2, %r8b
cmovneq %rsi, %rax
retq
// File: /workspace/github_cpp_makefile_star2_O3/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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x40b67e
movq %rax, %r12
leaq 0x1(%rax), %rdi
callq 0x50c800
testq %rax, %rax
je 0x40b88f
movq %rax, %r15
movq 0x40(%r14), %rbp
movq 0x50(%r14), %rax
leaq (%r12,%rbp), %rcx
movq %rax, %r13
subq %rbp, %r13
cmpq %rax, %rcx
cmovbeq %r12, %r13
movq 0x38(%r14), %rsi
addq %rbp, %rsi
movq %r15, %rdi
movq %r13, %rdx
callq 0x401080
addq %rbp, %r13
movq %r13, 0x40(%r14)
movb $0x0, (%r15,%r12)
movq %rbx, %rdi
movq %r15, %rsi
callq 0x4107ee
movq %r15, %rdi
callq 0x50cb40
jmp 0x40b89e
leaq 0x1e758c(%rip), %rsi    # 0x5f2e22
movq %rbx, %rdi
callq 0x4107ee
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/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 %rbx
subq $0x10, %rsp
movq %rdi, %rbx
leaq 0x3(%rsp), %rax
movss %xmm0, -0x3(%rax)
xorl %ecx, %ecx
movb (%rsp,%rcx), %dl
movb (%rax), %sil
movb %sil, (%rsp,%rcx)
movb %dl, (%rax)
incq %rcx
decq %rax
cmpq $0x2, %rcx
jne 0x40b8c4
movq 0x40(%rbx), %rsi
addq $0x4, %rsi
cmpq 0x48(%rbx), %rsi
jb 0x40b8f2
movq %rbx, %rdi
callq 0x40ae74
movq %rsp, %rsi
movl $0x4, %edx
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x40af4a
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O3/enbock[P]Warp10Server/ulib/src/ByteArray.cpp
// Function: u::ByteArray::compress()
void ByteArray::compress()
{
	Bytef *compr;
	ulong cl;
	int err;
	ByteArray *ba = new ByteArray();
	ba->writeUInt(_length);

	cl = compressBound(_length);
	compr = (Bytef *)malloc(cl+ba->length());
	ba->position(0);
	ba->readBytes((char*)compr, ba->_length, 0);
	err = compress2(compr+ba->length(), &cl, (const Bytef*)_buffer, _length, Z_BEST_COMPRESSION);

	if(err != Z_OK)
	{
		assert(err == Z_OK && "ByteArray::compress(): Compression error.");
		free(compr);
		return;
	}
	size(cl);
	_length = 0;
	position(0);
	writeBytes((const char *)compr, cl+ba->length(),0);
	delete ba;
	free(compr);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
movl $0x58, %edi
callq 0x427e10
movq %rax, %rbx
movq %rax, %rdi
callq 0x40ace4
movq 0x50(%r14), %rsi
xorl %ebp, %ebp
movl $0x1, %edx
movq %rbx, %rdi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x40b4e6
movq 0x50(%r14), %rdi
callq 0x4193d0
movq %rax, %r15
movq %rsp, %rax
movq %r15, (%rax)
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x38(%rax)
addq %rax, %r15
movq %r15, %rdi
callq 0x50c800
movq %rax, %r15
movq (%rbx), %rax
movq %rbx, %rdi
xorl %esi, %esi
callq *0x20(%rax)
movq 0x40(%rbx), %r12
movq 0x50(%rbx), %r13
leaq (%r12,%r13), %rax
cmpq %r13, %rax
cmovaq %r12, %rbp
subq %rbp, %r13
movq 0x38(%rbx), %rsi
addq %r12, %rsi
movq %r15, %rdi
movq %r13, %rdx
callq 0x401080
addq %r12, %r13
movq %r13, 0x40(%rbx)
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x38(%rax)
leaq (%rax,%r15), %rdi
movq 0x38(%r14), %rdx
movq 0x50(%r14), %rcx
movq %rsp, %rsi
movl $0x9, %r8d
callq 0x419280
testl %eax, %eax
jne 0x40babf
movq (%rsp), %rsi
movq %r14, %rdi
callq 0x40ae74
movq $0x0, 0x50(%r14)
movq (%r14), %rax
movq %r14, %rdi
xorl %esi, %esi
callq *0x20(%rax)
movq (%rsp), %r12
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x38(%rax)
addq %rax, %r12
movq %r14, %rdi
movq %r15, %rsi
movq %r12, %rdx
xorl %ecx, %ecx
callq 0x40af4a
leaq 0x23c6d1(%rip), %rax    # 0x648158
movq %rax, (%rbx)
movq 0x38(%rbx), %rdi
callq 0x50cb40
movq %rbx, %rdi
callq 0x410332
movl $0x58, %esi
movq %rbx, %rdi
callq 0x426e30
movq %r15, %rdi
callq 0x50cb40
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1c2d4a(%rip), %rdi    # 0x5ce810
leaq 0x1c2d7e(%rip), %rsi    # 0x5ce84b
leaq 0x1c2d89(%rip), %rcx    # 0x5ce85d
movl $0x1a4, %edx            # imm = 0x1A4
callq 0x4e5d20
movq %rax, %r14
movl $0x58, %esi
movq %rbx, %rdi
callq 0x426e30
movq %r14, %rdi
callq 0x4d10c0
// File: /workspace/github_cpp_makefile_star2_O3/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 %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movq $0x0, 0x40(%rdi)
xorl %esi, %esi
xorl %edx, %edx
callq 0x40b67e
leaq 0x8(%rsp), %r15
movq %rax, (%r15)
movq 0x40(%rbx), %r12
movq 0x50(%rbx), %r13
subq %r12, %r13
movq %rax, %rdi
callq 0x50c800
movq %rax, %r14
addq 0x38(%rbx), %r12
movq %rax, %rdi
movq %r15, %rsi
movq %r12, %rdx
movq %r13, %rcx
callq 0x4195b0
testl %eax, %eax
jne 0x40bb96
movq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x40ae74
movq (%rbx), %rax
movq %rbx, %rdi
xorl %esi, %esi
callq *0x20(%rax)
movq $0x0, 0x50(%rbx)
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
movq %r14, %rsi
xorl %ecx, %ecx
callq 0x40af4a
movq %r14, %rdi
callq 0x50cb40
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
leaq 0x1c2cde(%rip), %rdi    # 0x5ce87b
leaq 0x1c2ca7(%rip), %rsi    # 0x5ce84b
leaq 0x1c2d0f(%rip), %rcx    # 0x5ce8ba
movl $0x1c2, %edx            # imm = 0x1C2
callq 0x4e5d20
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq (%rdi), %rax
callq *0x38(%rax)
movq %rax, %r12
movq (%rbx), %rax
movq %rbx, %rdi
movq %r15, %rsi
callq *0x20(%rax)
leaq (%r14,%r15), %rax
movq %r12, %rcx
subq %rax, %rcx
testq %rcx, %rcx
jle 0x40bc68
cmpq %r12, %rax
jge 0x40bc68
movq 0x38(%rbx), %rcx
movb (%rcx,%rax), %dl
movb %dl, (%rcx,%r15)
incq %rax
incq %r15
cmpq %rax, %r12
jne 0x40bc4d
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x38(%rax)
subq %r14, %rax
xorl %esi, %esi
testq %rax, %rax
cmovgq %rax, %rsi
movq %rbx, %rdi
callq 0x40ae74
movb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/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
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x60, %rsp
movq %rsi, %r15
movq %rdi, %rbx
callq 0x41044e
leaq 0x236698(%rip), %rax    # 0x648620
movq %rax, (%rbx)
leaq 0x58(%rbx), %r14
movq %r14, %rdi
callq 0x4107c4
movl 0x40(%r15), %eax
movl %eax, 0x40(%rbx)
movq 0x38(%r15), %rax
movq %rax, 0x38(%rbx)
movl $0xffffffff, 0x54(%rbx) # imm = 0xFFFFFFFF
leaq 0x58(%r15), %r12
movq %r14, %rdi
movq %r12, %rsi
callq 0x410b04
movq 0xb0(%r15), %rax
movq %rax, 0xb0(%rbx)
movl $0xc350, 0xbc(%rbx)     # imm = 0xC350
movq $0x400, 0xc0(%rbx) # imm = 0x400
movw $0x1, 0xb8(%rbx)
movq $0x0, 0x48(%rbx)
movl $0x0, 0x50(%rbx)
movl $0xffffffff, 0x34(%rbx) # imm = 0xFFFFFFFF
movl 0x38(%r15), %ebp
leaq 0x8(%rsp), %rdi
movq %r12, %rsi
callq 0x410a2c
movq 0xb0(%r15), %rcx
movl 0x3c(%r15), %r9d
movl 0x40(%r15), %r8d
leaq 0x8(%rsp), %rdx
movq %rbx, %rdi
movl %ebp, %esi
callq 0x411d14
leaq 0x50(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x412048
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x426e30
leaq 0x8(%rsp), %rdi
callq 0x410332
addq $0x60, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r15
leaq 0x8(%rsp), %rdi
callq 0x40512c
jmp 0x412076
movq %rax, %r15
jmp 0x41207e
movq %rax, %r15
movq %r14, %rdi
callq 0x40512c
movq %rbx, %rdi
callq 0x410332
movq %r15, %rdi
callq 0x4d10c0
// File: /workspace/github_cpp_makefile_star2_O3/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
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x410226
movl 0x54(%rbx), %ebp
movq %rbx, %rdi
callq 0x4101de
cmpl $-0x1, %ebp
je 0x4120fd
movq %rbx, %rdi
callq 0x41217a
movq %rbx, %rdi
callq 0x410226
cmpb $0x1, 0xb8(%rbx)
jne 0x412128
movl 0x34(%rbx), %edi
cmpl $-0x1, %edi
je 0x412128
movl $0x2, %esi
callq 0x5609c0
movl 0x34(%rbx), %edi
callq 0x55d6d0
cmpl $0x1, 0x38(%rbx)
movq 0x48(%rbx), %rdi
movl $0x6e, %eax
movl $0x10, %esi
cmoveq %rax, %rsi
callq 0x426e30
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x4101de
nop
// File: /workspace/github_cpp_makefile_star2_O3/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
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x410226
cmpl $-0x1, 0x54(%rbx)
setne %bpl
movq %rbx, %rdi
callq 0x4101de
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/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
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x410226
movl 0x54(%rbx), %ebp
movq %rbx, %rdi
callq 0x4101de
cmpl $-0x1, %ebp
je 0x4121d2
movq %rbx, %rdi
callq 0x410226
movb $0x0, 0xb8(%rbx)
movl 0x34(%rbx), %edi
movl $0x2, %esi
callq 0x5609c0
movl 0x34(%rbx), %edi
callq 0x55d6d0
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
movl %eax, 0x54(%rbx)
movl %eax, 0x34(%rbx)
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x4101de
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/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
pushq %r15
pushq %r14
pushq %rbx
subq $0x128, %rsp            # imm = 0x128
movq %rsi, %r14
movq %rdi, %rbx
callq 0x4120da
movl 0x38(%r14), %ebp
leaq 0x58(%r14), %rsi
leaq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0x410a2c
movq 0xb0(%r14), %rcx
movl 0x3c(%r14), %r9d
movl 0x40(%r14), %r8d
leaq 0x60(%rsp), %rdi
movl %ebp, %esi
movq %r15, %rdx
callq 0x411c4c
leaq 0x60(%rsp), %rdi
callq 0x41208e
leaq 0x50(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x412262
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x426e30
leaq 0x8(%rsp), %rdi
callq 0x410332
movq %r14, %rdi
callq 0x410226
movl 0x54(%r14), %ebp
movq %r14, %rdi
callq 0x4101de
cmpl $-0x1, %ebp
je 0x41228d
movq %rbx, %rdi
callq 0x4122b4
movq %rbx, %rax
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x40512c
movq %rbx, %rdi
callq 0x4d10c0
nop
// File: /workspace/github_cpp_makefile_star2_O3/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
pushq %r15
pushq %r14
pushq %rbx
subq $0x98, %rsp
movq %rdi, %rbx
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %r14
movaps %xmm0, (%r14)
movaps %xmm0, 0x10(%r14)
movaps %xmm0, 0x20(%r14)
movaps %xmm0, 0x30(%r14)
movaps %xmm0, 0x40(%r14)
movaps %xmm0, 0x50(%r14)
movaps %xmm0, 0x60(%r14)
movaps %xmm0, 0x70(%r14)
movl 0x34(%rdi), %ecx
leal 0x3f(%rcx), %eax
testl %ecx, %ecx
cmovnsl %ecx, %eax
movl %eax, %edx
andl $-0x40, %edx
subl %edx, %ecx
movl $0x1, %edx
shlq %cl, %rdx
sarl $0x6, %eax
cltq
orq %rdx, 0x10(%rsp,%rax,8)
movq %rsp, %r15
movaps %xmm0, (%r15)
callq 0x410226
movl 0x34(%rbx), %edi
incl %edi
movq %r14, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
movq %r15, %r8
callq 0x55e510
movl %eax, %ebp
movq %rbx, %rdi
callq 0x4101de
testl %ebp, %ebp
setg %al
addq $0x98, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/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
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x410226
movl 0x54(%r14), %ebp
movq %r14, %rdi
callq 0x4101de
cmpl $-0x1, %ebp
je 0x413a47
cmpl $0x1, 0x38(%r14)
jne 0x413a53
leaq 0x1bb384(%rip), %rsi    # 0x5cedc9
jmp 0x413a4e
leaq 0x1bb373(%rip), %rsi    # 0x5cedc1
movq %rbx, %rdi
jmp 0x413a65
movq 0x48(%r14), %rax
movl 0x4(%rax), %edi
callq 0x5613f0
movq %rbx, %rdi
movq %rax, %rsi
callq 0x4107ee
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/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
pushq %r14
pushq %rbx
subq $0x60, %rsp
movq %rdi, %rbx
callq 0x410226
movl 0x34(%rbx), %ebp
movl 0x38(%rbx), %r14d
movq %rbx, %rdi
callq 0x4101de
cmpl $-0x1, %ebp
je 0x413b45
movl $0xc8, %edi
callq 0x427e10
movq %rax, %rbx
leaq 0x1bb30b(%rip), %rsi    # 0x5cedd3
leaq 0x8(%rsp), %rdi
callq 0x4107ee
leaq 0x8(%rsp), %rdx
movq %rbx, %rdi
movl %r14d, %esi
xorl %ecx, %ecx
movl $0x1, %r8d
xorl %r9d, %r9d
callq 0x411c4c
leaq 0x50(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x413b08
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x426e30
leaq 0x8(%rsp), %rdi
callq 0x410332
movl 0x34(%rbx), %edi
callq 0x55d6d0
movq 0x48(%rbx), %rsi
movq %rbx, %rdx
addq $0x50, %rdx
movl %ebp, %edi
callq 0x560630
movl %eax, 0x34(%rbx)
cmpl $-0x1, %eax
je 0x413b3d
movl $0x1, 0x54(%rbx)
jmp 0x413b47
movq (%rbx), %rax
movq %rbx, %rdi
callq *(%rax)
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x60, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %r14
leaq 0x8(%rsp), %rdi
callq 0x40512c
jmp 0x413b65
movq %rax, %r14
movl $0xc8, %esi
movq %rbx, %rdi
callq 0x426e30
movq %r14, %rdi
callq 0x4d10c0
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x110, %rsp            # imm = 0x110
movq %rdi, %rbx
callq 0x40fc0c
leaq 0x231d11(%rip), %rax    # 0x648758
movq %rax, (%rbx)
leaq 0x88(%rbx), %r14
movq %r14, %rdi
callq 0x417f18
leaq 0x110(%rbx), %r15
leaq 0x148(%rbx), %r13
xorps %xmm0, %xmm0
movups %xmm0, 0x148(%rbx)
movq $0x0, 0x158(%rbx)
movq %r15, %rdi
callq 0x41026c
leaq 0x231d3d(%rip), %rax    # 0x6487c8
movq %rax, 0x110(%rbx)
movb $0x0, 0x160(%rbx)
leaq 0xb8(%rsp), %rdi
movl $0x21, %edx
movq %rbx, %rsi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x40bcd8
movq $0x652aa8, %rsi         # imm = 0x652AA8
leaq 0xb8(%rsp), %rdx
movq %rbx, %rdi
callq 0x40ded4
leaq 0xb8(%rsp), %rdi
callq 0x410332
leaq 0x60(%rsp), %rdi
movl $0x29, %edx
movq %rbx, %rsi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x40bcd8
movq $0x652b00, %rsi         # imm = 0x652B00
leaq 0x60(%rsp), %rdx
movq %rbx, %rdi
callq 0x40ded4
leaq 0x60(%rsp), %rdi
callq 0x410332
leaq 0x8(%rsp), %rdi
movl $0x39, %edx
movq %rbx, %rsi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x40bcd8
movq $0x652c08, %rsi         # imm = 0x652C08
leaq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x40ded4
leaq 0x8(%rsp), %rdi
callq 0x410332
addq $0x110, %rsp            # imm = 0x110
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %r12
leaq 0x8(%rsp), %rdi
jmp 0x416b71
movq %rax, %r12
leaq 0x60(%rsp), %rdi
jmp 0x416b71
movq %rax, %r12
leaq 0xb8(%rsp), %rdi
callq 0x410332
jmp 0x416b9d
movq %rax, %r12
movq (%r13), %rdi
testq %rdi, %rdi
je 0x416ba5
movq 0x158(%rbx), %rsi
subq %rdi, %rsi
callq 0x426e30
jmp 0x416ba5
movq %rax, %r12
jmp 0x416bad
movq %rax, %r12
movq %r15, %rdi
callq 0x417a42
movq %r14, %rdi
callq 0x41814e
movq %rbx, %rdi
callq 0x40fc3a
movq %r12, %rdi
callq 0x4d10c0
nop
// File: /workspace/github_cpp_makefile_star2_O3/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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1c8, %rsp            # imm = 0x1C8
movq %rsi, %rbx
movq %rdi, %r14
callq 0x410226
leaq 0x88(%r14), %r12
leaq 0x58(%rbx), %r15
leaq 0xb8(%rsp), %r13
movq %r13, %rdi
movq %r15, %rsi
callq 0x410a2c
movq %r12, %rdi
movq %r13, %rsi
callq 0x4187b4
movl %eax, %ebp
leaq 0x100(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x416f90
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x426e30
leaq 0xb8(%rsp), %rdi
callq 0x410332
testb %bpl, %bpl
je 0x416faf
movq %r14, %rdi
callq 0x4101de
jmp 0x417075
movq 0x48(%rbx), %r13
leaq 0x60(%rsp), %rbp
movq %rbp, %rdi
movq %r15, %rsi
callq 0x410a2c
movq %r12, %rdi
movq %rbp, %rsi
callq 0x4182aa
movq %rax, %rdi
movq %r13, %rsi
callq 0x4185e6
leaq 0xa8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x416ffa
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x426e30
leaq 0x60(%rsp), %rdi
callq 0x410332
leaq 0x8(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x410a2c
movq $0x652b58, %rsi         # imm = 0x652B58
leaq 0x110(%rsp), %rdi
movq %r12, %rdx
callq 0x416802
leaq 0x50(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x417046
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x426e30
leaq 0x8(%rsp), %rdi
callq 0x410332
movq %r14, %rdi
callq 0x4101de
leaq 0x110(%rsp), %rsi
movq %r14, %rdi
callq 0x40e11a
leaq 0x110(%rsp), %rdi
callq 0x41697a
movq (%rbx), %rax
movq %rbx, %rdi
callq *(%rax)
addq $0x1c8, %rsp            # imm = 0x1C8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
jmp 0x4170c0
movq %rax, %rbx
leaq 0x110(%rsp), %rdi
callq 0x41697a
jmp 0x4170c5
movq %rax, %rbx
leaq 0x60(%rsp), %rdi
jmp 0x4170c0
movq %rax, %rbx
leaq 0xb8(%rsp), %rdi
callq 0x40512c
movq %rbx, %rdi
callq 0x4d10c0
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rsi, %rbx
movq %rdi, %r14
callq 0x410226
movq %rbx, %rdi
callq 0x40c31c
movq %rax, %r15
leaq 0x110(%r14), %rdi
movq %rax, %rsi
callq 0x417a8e
cmpq $-0x1, %rax
je 0x41763b
movq %rsp, %r12
movl $0x31, %edx
movq %r12, %rdi
movq %r14, %rsi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x40bcd8
movq $0x652c60, %rsi         # imm = 0x652C60
movq %r15, %rdi
movq %r12, %rdx
callq 0x40dfa4
movq %rsp, %rdi
callq 0x410332
movq (%r15), %rax
movq %r15, %rdi
callq *(%rax)
movq %r14, %rdi
callq 0x4101de
movq (%r14), %rax
movq %r14, %rdi
callq *0x40(%rax)
jmp 0x417643
movq %r14, %rdi
callq 0x4101de
movq (%rbx), %rax
movq %rbx, %rdi
callq *(%rax)
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x410332
movq %rbx, %rdi
callq 0x4d10c0
// File: /workspace/github_cpp_makefile_star2_O3/enbock[P]Warp10Server/ulib/src/Network/Manager.cpp
// Function: u::Network::Manager::onCloseRequest(u::Object*)
void Manager::onCloseRequest(Object *arg)
{
	trace(className() + ": Start close procedure.");
	arg->destroy();
	lock();
	if(_isClosing == false) {
		uint64 i, length = _listener.length();
		Event close(Event::CLOSE);
		for (i = 0; i < length; i++) {
			_listener[i]->dispatchEvent(&close);
		}
	}
	_isClosing = true;
	unlock();
	checkForCloseState();
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xd8, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq $0x653c40, %rdi         # imm = 0x653C40
leaq 0x1b6a05(%rip), %rsi    # 0x5ce091
movl $0x4, %edx
callq 0x490910
movq (%rbx), %rax
leaq 0x20(%rsp), %rdi
movq %rbx, %rsi
callq *0x8(%rax)
leaq 0x58(%rsp), %rdi
leaq 0x1b7a92(%rip), %rsi    # 0x5cf142
callq 0x4a24f0
leaq 0x10(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rsi
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rsi
je 0x4176dc
movq %rsi, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x4176e7
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq %r12, %rsi
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq $0x653c40, %rdi         # imm = 0x653C40
callq 0x490910
movq %rax, %r15
leaq 0x1b6996(%rip), %rsi    # 0x5ce0ab
movl $0x4, %edx
movq %rax, %rdi
callq 0x490910
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x471a60
movsbl %al, %esi
movq %r15, %rdi
callq 0x490410
movq %rax, %rdi
callq 0x48f9e0
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x41775f
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x426e30
leaq 0x68(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x41777a
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x426e30
leaq 0x20(%rsp), %rdi
callq 0x410332
movq (%r14), %rax
movq %r14, %rdi
callq *(%rax)
movq %rbx, %rdi
callq 0x410226
cmpb $0x0, 0x160(%rbx)
jne 0x41780d
movq 0x148(%rbx), %r14
movq 0x150(%rbx), %r12
movq $0x652c08, %rsi         # imm = 0x652C08
leaq 0x20(%rsp), %rdi
callq 0x416860
subq %r14, %r12
je 0x417803
sarq $0x3, %r12
cmpq $0x1, %r12
adcq $0x0, %r12
xorl %r14d, %r14d
leaq 0x20(%rsp), %r15
movq 0x148(%rbx), %rax
movq 0x150(%rbx), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
cmpq %r14, %rdx
jbe 0x417834
movq (%rax,%r14,8), %rdi
movq %r15, %rsi
callq 0x40e11a
incq %r14
cmpq %r14, %r12
jne 0x4177d5
leaq 0x20(%rsp), %rdi
callq 0x41697a
movb $0x1, 0x160(%rbx)
movq %rbx, %rdi
callq 0x4101de
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x40(%rax)
addq $0xd8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0x1b6b8d(%rip), %rdi    # 0x5ce3c8
movq %r14, %rsi
xorl %eax, %eax
callq 0x471570
movq %rax, %rbx
jmp 0x417863
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x417863
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x426e30
leaq 0x20(%rsp), %rdi
callq 0x40512c
jmp 0x41787e
jmp 0x417871
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x41697a
movq %rbx, %rdi
callq 0x4d10c0
// File: /workspace/github_cpp_makefile_star2_O3/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 %r15
pushq %r14
pushq %rbx
subq $0xe0, %rsp
movq %rdi, %rbx
callq 0x410226
movq 0x150(%rbx), %rax
cmpq 0x148(%rbx), %rax
je 0x4178be
movq %rbx, %rdi
addq $0xe0, %rsp
popq %rbx
popq %r14
popq %r15
jmp 0x4101de
movq $0x653c40, %rdi         # imm = 0x653C40
leaq 0x1b67c5(%rip), %rsi    # 0x5ce091
movl $0x4, %edx
callq 0x490910
movq (%rbx), %rax
leaq 0x28(%rsp), %rdi
movq %rbx, %rsi
callq *0x8(%rax)
leaq 0x60(%rsp), %rdi
leaq 0x1b786b(%rip), %rsi    # 0x5cf15b
callq 0x4a24f0
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rsi
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rsi
je 0x41791c
movq %rsi, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x417926
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq %r15, %rsi
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq $0x653c40, %rdi         # imm = 0x653C40
callq 0x490910
movq %rax, %r14
leaq 0x1b6757(%rip), %rsi    # 0x5ce0ab
movl $0x4, %edx
movq %rax, %rdi
callq 0x490910
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x471a60
movsbl %al, %esi
movq %r14, %rdi
callq 0x490410
movq %rax, %rdi
callq 0x48f9e0
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x41799f
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x426e30
leaq 0x70(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4179ba
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x426e30
leaq 0x28(%rsp), %rdi
callq 0x410332
movq $0x652c60, %rsi         # imm = 0x652C60
leaq 0x28(%rsp), %rdi
callq 0x416860
movq %rbx, %rdi
callq 0x4101de
leaq 0x28(%rsp), %rsi
movq %rbx, %rdi
callq 0x40e11a
leaq 0x28(%rsp), %rdi
callq 0x41697a
addq $0xe0, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
jmp 0x417a2f
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x41697a
jmp 0x417a39
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x417a2f
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x426e30
leaq 0x28(%rsp), %rdi
callq 0x40512c
movq %rbx, %rdi
callq 0x4d10c0
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
callq 0x418096
movq 0x78(%r14), %r12
subq 0x70(%r14), %r12
sarq $0x3, %r12
testq %r12, %r12
jle 0x418075
xorl %r15d, %r15d
movq 0x70(%r14), %rax
movq 0x78(%r14), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
cmpq %r15, %rdx
jbe 0x418084
movq (%rax,%r15,8), %rsi
movq %rbx, %rdi
callq 0x4180e0
incq %r15
cmpq %r15, %r12
jne 0x41804d
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0x1b633d(%rip), %rdi    # 0x5ce3c8
movq %r15, %rsi
xorl %eax, %eax
callq 0x471570
nop
// File: /workspace/github_cpp_makefile_star2_O3/enbock[P]Warp10Server/ulib/src/Datablock.cpp
// Function: u::Datablock::deleteAttribute(u::Datablock::_attribute*)
void Datablock::deleteAttribute(Datablock::_attribute *entry)
{
	int64 i,l;

	l=_list.size();
	for(i=0; i<l; i++)
	{
		if(_list[i] == entry)
		{
			_list.erase(i);
			break;
		}
	}

	l = entry->ref.size();
	for(i=0; i<l; i++)
	{
		if(entry->ref[i] == this)
		{
			entry->ref.erase(i);
			break;
		}
	}
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x70(%rdi), %rsi
movq 0x78(%rdi), %rcx
movq %rcx, %rdx
subq %rsi, %rdx
movq %rdx, %rax
sarq $0x3, %rax
testq %rax, %rax
jle 0x4181fc
addq $0x8, %rsi
addq $-0x8, %rdx
movq %rax, %rdi
subq $0x1, %rdi
jb 0x41826a
cmpq %rbx, -0x8(%rsi)
je 0x4181e2
addq $0x8, %rsi
addq $-0x8, %rdx
testq %rdi, %rdi
jne 0x4181c3
jmp 0x4181fc
cmpq %rcx, %rsi
je 0x4181f4
leaq -0x8(%rsi), %rdi
callq 0x401020
movq 0x78(%r14), %rcx
addq $-0x8, %rcx
movq %rcx, 0x78(%r14)
movq 0xa8(%rbx), %rsi
movq 0xb0(%rbx), %rcx
movq %rcx, %rdx
subq %rsi, %rdx
movq %rdx, %rax
sarq $0x3, %rax
testq %rax, %rax
jle 0x418262
addq $0x8, %rsi
addq $-0x8, %rdx
movq %rax, %rdi
subq $0x1, %rdi
jb 0x41826a
cmpq %r14, -0x8(%rsi)
je 0x418242
addq $0x8, %rsi
addq $-0x8, %rdx
testq %rdi, %rdi
jne 0x418227
jmp 0x418262
cmpq %rcx, %rsi
je 0x418257
leaq -0x8(%rsi), %rdi
callq 0x401020
movq 0xb0(%rbx), %rcx
addq $-0x8, %rcx
movq %rcx, 0xb0(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
leaq 0x1b6157(%rip), %rdi    # 0x5ce3c8
movq %rax, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq 0x471570
// File: /workspace/github_cpp_makefile_star2_O3/enbock[P]Warp10Server/ulib/src/Datablock.cpp
// Function: u::Datablock::operator[](u::String)
Datablock::_attribute & Datablock::operator[](String name)
{
	int64 i,l;
	_attribute *entry;
	l = _list.size();
	for(i=0; i<l; i++)
	{
		entry = _list[i];
		if(entry->name == name) return *entry;
	}
	entry = new _attribute(name);

	saveAttribute(entry);

	return *entry;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %r15
movq 0x70(%rdi), %r13
movq %rdi, 0x8(%rsp)
movq 0x78(%rdi), %r12
subq %r13, %r12
sarq $0x3, %r12
testq %r12, %r12
jle 0x41830f
movq 0x40(%r15), %rbp
xorl %ebx, %ebx
cmpq %rbx, %r12
je 0x41837a
movq (%r13,%rbx,8), %r14
movq 0x48(%r14), %rdx
cmpq %rbp, %rdx
jne 0x418307
testq %rdx, %rdx
je 0x418368
movq 0x38(%r15), %rsi
movq 0x40(%r14), %rdi
callq 0x401090
testl %eax, %eax
je 0x418368
incq %rbx
cmpq %rbx, %r12
jne 0x4182da
movl $0xc0, %edi
callq 0x427e10
movq %rax, %r14
leaq 0x10(%rsp), %rdi
movq %r15, %rsi
callq 0x410a2c
leaq 0x10(%rsp), %rsi
movq %r14, %rdi
callq 0x418690
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x418351
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x426e30
leaq 0x10(%rsp), %rdi
callq 0x410332
movq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0x4180e0
movq %r14, %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1b6047(%rip), %rdi    # 0x5ce3c8
movq %r12, %rsi
movq %r12, %rdx
xorl %eax, %eax
callq 0x471570
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x40512c
jmp 0x4183a0
movq %rax, %rbx
movl $0xc0, %esi
movq %r14, %rdi
callq 0x426e30
movq %rbx, %rdi
callq 0x4d10c0
nop
// File: /workspace/github_cpp_makefile_star2_O3/enbock[P]Warp10Server/ulib/src/Datablock.cpp
// Function: u::Datablock::toString()
String Datablock::toString()
{
	String str = "[" + className();
	str += " length=" + int2string(_list.size());
	str += "]";
	return str;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq (%rsi), %rax
leaq 0x40(%rsp), %rdi
callq *0x8(%rax)
leaq 0x78(%rsp), %rdi
leaq 0x1b6972(%rip), %rcx    # 0x5ced53
movl $0x1, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x4a1d30
leaq 0x30(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x418417
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x41841e
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0x20(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %rbx, %rdi
callq 0x410834
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x418459
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x426e30
leaq 0x88(%rsp), %r15
movq -0x10(%r15), %rdi
cmpq %r15, %rdi
je 0x41847a
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x426e30
leaq 0x40(%rsp), %rdi
callq 0x410332
movq 0x78(%r14), %rsi
subq 0x70(%r14), %rsi
shrq $0x3, %rsi
leaq 0x40(%rsp), %rdi
callq 0x410514
leaq 0x78(%rsp), %rdi
leaq 0x1b5bc8(%rip), %rcx    # 0x5ce06e
movl $0x8, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x4a1d30
leaq 0x10(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rsi
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rsi
je 0x4184dc
movq %rsi, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x4184e7
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq %r12, %rsi
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x38(%rbx), %r14
movq %r14, %rdi
callq 0x4a23b0
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x418521
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x426e30
movq 0x78(%rsp), %rdi
cmpq %r15, %rdi
je 0x41853b
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x426e30
leaq 0x40(%rsp), %rdi
callq 0x410332
leaq 0x1da8ba(%rip), %rsi    # 0x5f2e06
movq %r14, %rdi
callq 0x4a24f0
movq %rbx, %rax
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0x418592
movq %rax, %r14
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x418586
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x426e30
jmp 0x418586
movq %rax, %r14
leaq 0x40(%rsp), %rdi
callq 0x40512c
jmp 0x418595
movq %rax, %r14
movq %rbx, %rdi
jmp 0x4185be
movq %rax, %r14
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x4185b9
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x426e30
jmp 0x4185b9
movq %rax, %r14
leaq 0x40(%rsp), %rdi
callq 0x40512c
movq %r14, %rdi
callq 0x4d10c0
nop
// File: /workspace/github_cpp_makefile_star2_O3/enbock[P]Warp10Server/ulib/src/Datablock.cpp
// Function: u::Datablock::_attribute::operator=(u::Object*)
Object *Datablock::_attribute::operator =(Object *value)
{
	destroyValue();
	isObject = true;
	this->value = value;
	//trace("Save as Object.");
	return value;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
callq 0x41860a
movb $0x1, 0x68(%r14)
movq %rbx, 0x60(%r14)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/enbock[P]Warp10Server/ulib/src/Datablock.cpp
// Function: u::Datablock::_attribute::destroyValue()
void Datablock::_attribute::destroyValue()
{
	if(value != null)
	{
		if(isObject == true)
		{
			//trace("Destroy object.");
			if(valid((Object *)value)) ((Object*)value)->destroy();
		}
		else
		{
			//trace("Destroy a int.");
			delete (int64*)value;
		}
		value = null;
		if(_noDelete == false) delete (_attribute*)this;
	}
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x60(%rdi), %rdi
testq %rdi, %rdi
je 0x418648
cmpb $0x1, 0x68(%rbx)
jne 0x418631
callq 0x411402
testb %al, %al
je 0x41863b
movq 0x60(%rbx), %rdi
movq (%rdi), %rax
callq *(%rax)
jmp 0x41863b
movl $0x8, %esi
callq 0x426e30
movq $0x0, 0x60(%rbx)
cmpb $0x0, (%rbx)
je 0x41864a
popq %rbx
retq
movq %rbx, %rdi
callq 0x41873e
movl $0xc0, %esi
movq %rbx, %rdi
popq %rbx
jmp 0x426e30
// File: /workspace/github_cpp_makefile_star2_O3/enbock[P]Warp10Server/ulib/src/Datablock.cpp
// Function: u::Datablock::_attribute::operator=(long)
int64 Datablock::_attribute::operator =(int64 value)
{
	destroyValue();
	isObject = false;
	this->value = new int64();
	*((int64*)this->value) = value;

	return value;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
callq 0x41860a
movb $0x0, 0x68(%r14)
movl $0x8, %edi
callq 0x427e10
movq %rax, 0x60(%r14)
movq %rbx, (%rax)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq