// File: /workspace/github_cpp_makefile_star2_O3/bluesky466[P]ResourcesParser/ResourcesParserInterpreter.cpp
// Function: ResourcesParserInterpreter::parserEntry(unsigned int, std::shared_ptr<ResourcesParser::ResStringPool>, ResTable_entry*, Res_value*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void ResourcesParserInterpreter::parserEntry(
		uint32_t resId,
		ResourcesParser::ResStringPoolPtr pKeys,
		ResTable_entry* pEntry,
		Res_value* pValue,
		const string& type,
		const string& tab) {
	string key = ResourcesParser::getStringFromResStringPool(pKeys, pEntry->key.index);
	if(pEntry->flags & ResTable_entry::FLAG_COMPLEX) {
		cout <<tab<<key<<endl;
		ResTable_map_entry* pMapEntry = (ResTable_map_entry*)pEntry;
		ResTable_map* pMap = (ResTable_map*)pValue;
		if(pMapEntry->parent.ident!= 0) {
			cout <<tab+"\t" <<"parent: " <<mParser->getNameForId(pMapEntry->parent.ident) <<endl;
		}

		for(int i = 0 ; i < pMapEntry->count ; i++) {
			string name = mParser->getNameForResTableMap((pMap+i)->name);

			uint32_t ident = (pMap+i)->name.ident;

			if(!ResourcesParser::isTableMapForAttrDesc((pMap+i)->name)){
				cout
					<<tab+"\t\t" <<name
					<<"(" <<*dec <<ident <<" or 0x" <<hex <<ident <<") = "
					<<mParser->stringOfValue(&(pMap+i)->value)
					<<endl;
			} else {
				cout <<tab+"\t" <<name
					<<"(" <<*dec <<ident <<" or 0x" <<hex <<ident <<") "
					<<mParser->getValueTypeForResTableMap((pMap+i)->value)
					<<endl;
			}
		}
	}else{
		if(ID_TYPE == type) {
			cout <<tab+"\t" <<key <<" (" <<*dec <<resId <<" or 0x" <<hex <<resId <<")"<<endl;
		} else {
			string value = mParser->stringOfValue(pValue);
			cout <<tab+"\t" <<key <<" (" <<*dec <<resId <<" or 0x" <<hex <<resId <<")"
				<<" = " <<value <<endl;
		}
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %r9, %r13
movq %r8, %rbx
movq %rcx, -0x70(%rbp)
movl %esi, %r12d
movq %rdi, %r14
movq (%rdx), %rax
movq %rax, -0xa0(%rbp)
movq 0x8(%rdx), %rax
movq %rax, -0x98(%rbp)
testq %rax, %rax
je 0x4621
movq 0xa9bd(%rip), %rcx      # 0xefd0
cmpb $0x0, (%rcx)
je 0x461d
incl 0x8(%rax)
jmp 0x4621
lock
incl 0x8(%rax)
movq -0x70(%rbp), %rax
movl 0x4(%rax), %edx
leaq -0xc0(%rbp), %rdi
leaq -0xa0(%rbp), %rsi
callq 0x6f0a
movq -0x98(%rbp), %rdi
testq %rdi, %rdi
je 0x464c
callq 0x3ddc
movq 0x10(%rbp), %rcx
movq -0x70(%rbp), %rax
testb $0x1, 0x2(%rax)
jne 0x47f2
movq 0xacfb(%rip), %rdx      # 0xf360
cmpq 0x8(%r13), %rdx
jne 0x468c
testq %rdx, %rdx
je 0x4bfd
movq (%r13), %rsi
movq 0xacd9(%rip), %rdi      # 0xf358
callq 0x3200
testl %eax, %eax
je 0x4bfd
movq (%r14), %rsi
leaq -0x68(%rbp), %rdi
movq %rbx, %rdx
callq 0x57c4
leaq -0x38(%rbp), %r15
movq %r15, -0x10(%r15)
movq 0x10(%rbp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq -0x48(%rbp), %rdi
callq 0x5508
leaq 0x6a6e(%rip), %rsi      # 0xb12f
leaq -0x48(%rbp), %rdi
callq 0x3350
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq 0xa8ff(%rip), %rdi      # 0xefd8
callq 0x3220
movq -0xc0(%rbp), %rsi
movq -0xb8(%rbp), %rdx
movq %rax, %rdi
callq 0x3220
movq %rax, %r14
leaq 0x6a3f(%rip), %rsi      # 0xb13d
movl $0x2, %edx
movq %rax, %rdi
callq 0x3220
movq (%r14), %rax
movq -0x18(%rax), %rax
movl 0x18(%r14,%rax), %ecx
andl $-0x4b, %ecx
orl $0x2, %ecx
movl %ecx, 0x18(%r14,%rax)
movl %r12d, %ebx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x3110
movq %rax, %r14
leaq 0x69f7(%rip), %rsi      # 0xb131
movl $0x6, %edx
movq %rax, %rdi
callq 0x3220
movq (%r14), %rax
movq -0x18(%rax), %rax
movl 0x18(%r14,%rax), %ecx
andl $-0x4b, %ecx
orl $0x8, %ecx
movl %ecx, 0x18(%r14,%rax)
movq %r14, %rdi
movq %rbx, %rsi
callq 0x3110
movq %rax, %rbx
leaq 0x6a92(%rip), %rsi      # 0xb205
movl $0x1, %edx
movq %rax, %rdi
callq 0x3220
leaq 0x69b2(%rip), %rsi      # 0xb139
movl $0x3, %edx
movq %rbx, %rdi
callq 0x3220
movq -0x68(%rbp), %rsi
movq -0x60(%rbp), %rdx
movq %rbx, %rdi
callq 0x3220
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x31e0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3120
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x47dc
callq 0x31c0
leaq -0x58(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
jne 0x4d12
jmp 0x4d17
movq (%rcx), %rsi
movq 0x8(%rcx), %rdx
movq 0xa7d8(%rip), %rdi      # 0xefd8
callq 0x3220
movq -0xc0(%rbp), %rsi
movq -0xb8(%rbp), %rdx
movq %rax, %rdi
callq 0x3220
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x31e0
movsbl %al, %esi
movq %r15, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3120
movq -0x70(%rbp), %rax
cmpl $0x0, 0x8(%rax)
je 0x491a
leaq -0x58(%rbp), %r13
movq %r13, -0x10(%r13)
movq 0x10(%rbp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq -0x68(%rbp), %rdi
callq 0x5508
leaq 0x68b6(%rip), %rsi      # 0xb12f
leaq -0x68(%rbp), %rdi
callq 0x3350
movq -0x68(%rbp), %rsi
movq -0x60(%rbp), %rdx
movq 0xa747(%rip), %rdi      # 0xefd8
callq 0x3220
movq %rax, %r12
leaq 0x6885(%rip), %rsi      # 0xb125
movl $0x8, %edx
movq %rax, %rdi
callq 0x3220
movq (%r14), %rsi
movq -0x70(%rbp), %rax
movl 0x8(%rax), %edx
leaq -0x48(%rbp), %rdi
callq 0x5e16
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq %r12, %rdi
callq 0x3220
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x31e0
movsbl %al, %esi
movq %r15, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3120
leaq -0x38(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x490c
callq 0x31c0
movq -0x68(%rbp), %rdi
cmpq %r13, %rdi
je 0x491a
callq 0x31c0
movq -0x70(%rbp), %rax
cmpl $0x0, 0xc(%rax)
je 0x4d17
xorl %r13d, %r13d
movq (%r14), %rsi
leaq -0x68(%rbp), %rdi
movq %rbx, %rdx
callq 0x729e
movl (%rbx), %r12d
movq %rbx, %rdi
callq 0x73d4
testb %al, %al
movq 0x10(%rbp), %rax
leaq -0x48(%rbp), %r15
leaq -0x38(%rbp), %rcx
je 0x4a83
movq %rcx, -0x48(%rbp)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x5508
movq %r15, %rdi
leaq 0x67b6(%rip), %rsi      # 0xb12f
callq 0x3350
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq 0xa64b(%rip), %rdi      # 0xefd8
callq 0x3220
movq -0x68(%rbp), %rsi
movq -0x60(%rbp), %rdx
movq %rax, %rdi
callq 0x3220
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
leaq 0x678a(%rip), %rsi      # 0xb13e
callq 0x3220
movq (%r15), %rax
movq -0x18(%rax), %rax
movl 0x18(%r15,%rax), %ecx
andl $-0x4b, %ecx
orl $0x2, %ecx
movl %ecx, 0x18(%r15,%rax)
movq %r15, %rdi
movq %r12, %rsi
callq 0x3110
movq %rax, %r15
movl $0x6, %edx
movq %rax, %rdi
leaq 0x6744(%rip), %rsi      # 0xb131
callq 0x3220
movq (%r15), %rax
movq -0x18(%rax), %rax
movl 0x18(%r15,%rax), %ecx
andl $-0x4b, %ecx
orl $0x8, %ecx
movl %ecx, 0x18(%r15,%rax)
movq %r15, %rdi
movq %r12, %rsi
callq 0x3110
movq %rax, %r12
movl $0x2, %edx
movq %rax, %rdi
leaq 0x67eb(%rip), %rsi      # 0xb211
callq 0x3220
movq (%r14), %rsi
leaq 0x4(%rbx), %rdx
leaq -0x90(%rbp), %rdi
callq 0x73e8
movq -0x90(%rbp), %rsi
movq -0x88(%rbp), %rdx
movq %r12, %rdi
callq 0x3220
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x31e0
movsbl %al, %esi
movq %r15, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3120
jmp 0x4ba8
movq %rcx, -0x48(%rbp)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x5508
movq %r15, %rdi
leaq 0x668b(%rip), %rsi      # 0xb12e
callq 0x3350
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq 0xa521(%rip), %rdi      # 0xefd8
callq 0x3220
movq -0x68(%rbp), %rsi
movq -0x60(%rbp), %rdx
movq %rax, %rdi
callq 0x3220
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
leaq 0x6660(%rip), %rsi      # 0xb13e
callq 0x3220
movq (%r15), %rax
movq -0x18(%rax), %rax
movl 0x18(%r15,%rax), %ecx
andl $-0x4b, %ecx
orl $0x2, %ecx
movl %ecx, 0x18(%r15,%rax)
movq %r15, %rdi
movq %r12, %rsi
callq 0x3110
movq %rax, %r15
movl $0x6, %edx
movq %rax, %rdi
leaq 0x661a(%rip), %rsi      # 0xb131
callq 0x3220
movq (%r15), %rax
movq -0x18(%rax), %rax
movl 0x18(%r15,%rax), %ecx
andl $-0x4b, %ecx
orl $0x8, %ecx
movl %ecx, 0x18(%r15,%rax)
movq %r15, %rdi
movq %r12, %rsi
callq 0x3110
movq %rax, %r12
movl $0x4, %edx
movq %rax, %rdi
leaq 0x65e8(%rip), %rsi      # 0xb138
callq 0x3220
movq (%r14), %rsi
leaq 0x4(%rbx), %rdx
leaq -0x90(%rbp), %rdi
callq 0x57c4
movq -0x90(%rbp), %rsi
movq -0x88(%rbp), %rdx
movq %r12, %rdi
callq 0x3220
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x31e0
movsbl %al, %esi
movq %r15, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3120
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x4bbd
callq 0x31c0
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x4bcf
callq 0x31c0
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0x4be1
callq 0x31c0
incq %r13
movq -0x70(%rbp), %rax
movl 0xc(%rax), %eax
addq $0xc, %rbx
cmpq %rax, %r13
jb 0x492b
jmp 0x4d17
leaq -0x58(%rbp), %r15
movq %r15, -0x10(%r15)
movq 0x10(%rbp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq -0x68(%rbp), %rdi
callq 0x5508
leaq 0x650c(%rip), %rsi      # 0xb12f
leaq -0x68(%rbp), %rdi
callq 0x3350
movq -0x68(%rbp), %rsi
movq -0x60(%rbp), %rdx
movq 0xa39d(%rip), %rdi      # 0xefd8
callq 0x3220
movq -0xc0(%rbp), %rsi
movq -0xb8(%rbp), %rdx
movq %rax, %rdi
callq 0x3220
movq %rax, %r14
leaq 0x64dd(%rip), %rsi      # 0xb13d
movl $0x2, %edx
movq %rax, %rdi
callq 0x3220
movq (%r14), %rax
movq -0x18(%rax), %rax
movl 0x18(%r14,%rax), %ecx
andl $-0x4b, %ecx
orl $0x2, %ecx
movl %ecx, 0x18(%r14,%rax)
movl %r12d, %ebx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x3110
movq %rax, %r14
leaq 0x6495(%rip), %rsi      # 0xb131
movl $0x6, %edx
movq %rax, %rdi
callq 0x3220
movq (%r14), %rax
movq -0x18(%rax), %rax
movl 0x18(%r14,%rax), %ecx
andl $-0x4b, %ecx
orl $0x8, %ecx
movl %ecx, 0x18(%r14,%rax)
movq %r14, %rdi
movq %rbx, %rsi
callq 0x3110
movq %rax, %rbx
leaq 0x6530(%rip), %rsi      # 0xb205
movl $0x1, %edx
movq %rax, %rdi
callq 0x3220
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x31e0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3120
movq -0x68(%rbp), %rdi
cmpq %r15, %rdi
je 0x4d17
callq 0x31c0
leaq -0xb0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4d2c
callq 0x31c0
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x4da3
jmp 0x4dda
jmp 0x4d5a
jmp 0x4d5a
jmp 0x4dda
jmp 0x4db3
movq %rax, %rbx
jmp 0x4dc4
jmp 0x4dda
movq %rax, %rbx
jmp 0x4d91
movq %rax, %rbx
movq -0x98(%rbp), %rdi
testq %rdi, %rdi
je 0x4e3e
callq 0x3ddc
jmp 0x4e3e
movq %rax, %rbx
leaq -0x38(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4d91
callq 0x31c0
movq -0x68(%rbp), %rdi
cmpq %r13, %rdi
jne 0x4e24
jmp 0x4e29
movq %rax, %rbx
movq -0x68(%rbp), %rdi
cmpq %r15, %rdi
jne 0x4e24
jmp 0x4e29
jmp 0x4dda
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x4dc4
callq 0x31c0
leaq -0x58(%rbp), %rax
movq -0x10(%rax), %rdi
jmp 0x4e1f
jmp 0x4e02
jmp 0x4e02
jmp 0x4e02
jmp 0x4e02
jmp 0x4ddf
jmp 0x4ddf
movq %rax, %rbx
jmp 0x4e29
movq %rax, %rbx
jmp 0x4e17
jmp 0x4de6
movq %rax, %rbx
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x4e05
callq 0x31c0
jmp 0x4e05
jmp 0x4e02
movq %rax, %rbx
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x4e17
callq 0x31c0
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0x4e29
callq 0x31c0
leaq -0xb0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4e3e
callq 0x31c0
movq %rbx, %rdi
callq 0x3330