// File: swxlion[P]swxJson/src/swxJsonParser.cpp
// Function: swxJson::JsonParser::fetchString[abi:cxx11]()
std::string fetchString()
	{
		_pos++;
		char *_start = _pos;

		while (true)
		{
			if (*_pos == 0)
				throw JSON_ERROR_MSG(JosnInvalidContentError, "Json parser: content error, uncompleted string.");

			else if (*_pos == '\\')
			{
				_outStringStream.write(_start, _pos - _start);
				processSlash();
				_start = _pos;
			}
			else if (*_pos == '"')
			{
				if (_outStringStream.tellp() == 0)
				{
					std::string str(_start, _pos - _start);
					_pos++;
					return str;
				}
				else
				{
					_outStringStream.write(_start, _pos - _start);
					std::string str = _outStringStream.str();
					_outStringStream.str("");
					_pos++;
					return str;
				}
			}
			else
				_pos++;
		}
	}

// Assembly:
subq $0xe8, %rsp
movq %rdi, 0x40(%rsp)
movq %rdi, %rax
movq %rax, 0x48(%rsp)
movq %rdi, 0xe0(%rsp)
movq %rsi, 0xd8(%rsp)
movq 0xd8(%rsp), %rax
movq %rax, 0x50(%rsp)
movq 0x12f0(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x12f0(%rax)
movq 0x12f0(%rax), %rax
movq %rax, 0xd0(%rsp)
movq 0x50(%rsp), %rax
movq 0x12f0(%rax), %rax
movsbl (%rax), %eax
cmpl $0x0, %eax
jne 0x80789
movb $0x1, 0x9b(%rsp)
movl $0x60, %edi
callq 0x4a160
movq %rax, 0x30(%rsp)
leaq 0xaf(%rsp), %rdi
movq %rdi, 0x38(%rsp)
callq 0x4a530
movq 0x38(%rsp), %rdx
leaq 0x275f(%rip), %rsi      # 0x82e2e
leaq 0xb0(%rsp), %rdi
callq 0x4dcf0
jmp 0x806de
movq 0x30(%rsp), %rdi
leaq 0x2416(%rip), %rsi      # 0x82b00
leaq 0x2731(%rip), %rdx      # 0x82e22
movl $0x11f, %ecx            # imm = 0x11F
leaq 0xb0(%rsp), %r8
callq 0x7d0d0
jmp 0x80705
movq 0x30(%rsp), %rdi
movb $0x0, 0x9b(%rsp)
leaq 0x1763f(%rip), %rsi     # 0x97d58
leaq -0x35f0(%rip), %rdx     # 0x7d130
callq 0x4a500
jmp 0x80a4a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xa0(%rsp)
movl %eax, 0x9c(%rsp)
jmp 0x80761
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xa0(%rsp)
movl %eax, 0x9c(%rsp)
leaq 0xb0(%rsp), %rdi
callq 0x4a5b8
leaq 0xaf(%rsp), %rdi
callq 0x4a390
testb $0x1, 0x9b(%rsp)
jne 0x8077a
jmp 0x80784
movq 0x30(%rsp), %rdi
callq 0x4a220
jmp 0x80a3d
movq 0x50(%rsp), %rax
movq 0x12f0(%rax), %rax
movsbl (%rax), %eax
cmpl $0x5c, %eax
jne 0x807ee
movq 0x50(%rsp), %rax
movq %rax, %rdi
addq $0x1100, %rdi           # imm = 0x1100
movq 0xd0(%rsp), %rsi
movq 0x12f0(%rax), %rdx
movq 0xd0(%rsp), %rax
subq %rax, %rdx
callq 0x4a430
movq 0x50(%rsp), %rdi
callq 0x80aa0
movq 0x50(%rsp), %rax
movq 0x12f0(%rax), %rax
movq %rax, 0xd0(%rsp)
jmp 0x80a29
movq 0x50(%rsp), %rax
movq 0x12f0(%rax), %rax
movsbl (%rax), %eax
cmpl $0x22, %eax
jne 0x80a10
movq 0x50(%rsp), %rdi
addq $0x1100, %rdi           # imm = 0x1100
callq 0x4a2a0
movq %rax, 0x88(%rsp)
movq %rdx, 0x90(%rsp)
leaq 0x88(%rsp), %rdi
callq 0x811d0
cmpq $0x0, %rax
jne 0x80901
movq 0x50(%rsp), %rax
movb $0x0, 0x87(%rsp)
movq 0xd0(%rsp), %rcx
movq %rcx, 0x18(%rsp)
movq 0x12f0(%rax), %rax
subq %rcx, %rax
movq %rax, 0x20(%rsp)
leaq 0x86(%rsp), %rdi
movq %rdi, 0x28(%rsp)
callq 0x4a530
movq 0x40(%rsp), %rdi
movq 0x18(%rsp), %rsi
movq 0x20(%rsp), %rdx
movq 0x28(%rsp), %rcx
callq 0x4a3c0
jmp 0x80894
leaq 0x86(%rsp), %rdi
callq 0x4a390
movq 0x50(%rsp), %rax
movq 0x12f0(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x12f0(%rax)
movb $0x1, 0x87(%rsp)
testb $0x1, 0x87(%rsp)
jne 0x808fc
jmp 0x808f2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xa0(%rsp)
movl %eax, 0x9c(%rsp)
leaq 0x86(%rsp), %rdi
callq 0x4a390
jmp 0x80a3d
movq 0x40(%rsp), %rdi
callq 0x4a5b8
jmp 0x80a30
movq 0x50(%rsp), %rax
movq %rax, %rdi
addq $0x1100, %rdi           # imm = 0x1100
movq %rdi, 0x8(%rsp)
movq 0xd0(%rsp), %rsi
movq 0x12f0(%rax), %rdx
subq %rsi, %rdx
callq 0x4a430
movq 0x40(%rsp), %rdi
movq 0x8(%rsp), %rsi
movb $0x0, 0x85(%rsp)
callq 0x4a330
leaq 0x5f(%rsp), %rdi
movq %rdi, 0x10(%rsp)
callq 0x4a530
movq 0x10(%rsp), %rdx
leaq 0x1718(%rip), %rsi      # 0x82076
leaq 0x60(%rsp), %rdi
callq 0x4dcf0
jmp 0x8096a
movq 0x8(%rsp), %rdi
leaq 0x60(%rsp), %rsi
callq 0x4a140
jmp 0x8097b
leaq 0x60(%rsp), %rdi
callq 0x4a5b8
leaq 0x5f(%rsp), %rdi
callq 0x4a390
movq 0x50(%rsp), %rax
movq 0x12f0(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x12f0(%rax)
movb $0x1, 0x85(%rsp)
testb $0x1, 0x85(%rsp)
jne 0x80a0e
jmp 0x80a04
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xa0(%rsp)
movl %eax, 0x9c(%rsp)
jmp 0x809ee
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xa0(%rsp)
movl %eax, 0x9c(%rsp)
leaq 0x60(%rsp), %rdi
callq 0x4a5b8
leaq 0x5f(%rsp), %rdi
callq 0x4a390
movq 0x40(%rsp), %rdi
callq 0x4a5b8
jmp 0x80a3d
movq 0x40(%rsp), %rdi
callq 0x4a5b8
jmp 0x80a30
movq 0x50(%rsp), %rax
movq 0x12f0(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x12f0(%rax)
jmp 0x80a29
jmp 0x80a2b
jmp 0x80682
movq 0x48(%rsp), %rax
addq $0xe8, %rsp
retq
movq 0xa0(%rsp), %rdi
callq 0x4a520
nopw (%rax,%rax)