// File: /workspace/github_cpp_makefile_star2_O1/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 0x462b
movq 0xa9b3(%rip), %rcx      # 0xefd0
cmpb $0x0, (%rcx)
je 0x4627
incl 0x8(%rax)
jmp 0x462b
lock
incl 0x8(%rax)
movq -0x70(%rbp), %rax
movl 0x4(%rax), %edx
leaq -0xc0(%rbp), %rdi
leaq -0xa0(%rbp), %rsi
callq 0x6fca
movq -0x98(%rbp), %rdi
testq %rdi, %rdi
je 0x4656
callq 0x3dfa
movq 0x10(%rbp), %rcx
movq -0x70(%rbp), %rax
testb $0x1, 0x2(%rax)
jne 0x47fc
movq 0xacf9(%rip), %rdx      # 0xf368
cmpq 0x8(%r13), %rdx
jne 0x4696
testq %rdx, %rdx
je 0x4c07
movq (%r13), %rsi
movq 0xacd7(%rip), %rdi      # 0xf360
callq 0x3210
testl %eax, %eax
je 0x4c07
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 0x5500
leaq 0x6a67(%rip), %rsi      # 0xb132
leaq -0x48(%rbp), %rdi
callq 0x3360
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq 0xa8f5(%rip), %rdi      # 0xefd8
callq 0x3230
movq -0xc0(%rbp), %rsi
movq -0xb8(%rbp), %rdx
movq %rax, %rdi
callq 0x3230
movq %rax, %r14
leaq 0x6a38(%rip), %rsi      # 0xb140
movl $0x2, %edx
movq %rax, %rdi
callq 0x3230
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 0x3120
movq %rax, %r14
leaq 0x69f0(%rip), %rsi      # 0xb134
movl $0x6, %edx
movq %rax, %rdi
callq 0x3230
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 0x3120
movq %rax, %rbx
leaq 0x6a98(%rip), %rsi      # 0xb215
movl $0x1, %edx
movq %rax, %rdi
callq 0x3230
leaq 0x69ab(%rip), %rsi      # 0xb13c
movl $0x3, %edx
movq %rbx, %rdi
callq 0x3230
movq -0x68(%rbp), %rsi
movq -0x60(%rbp), %rdx
movq %rbx, %rdi
callq 0x3230
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x31f0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3130
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x47e6
callq 0x31d0
leaq -0x58(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
jne 0x4d1c
jmp 0x4d21
movq (%rcx), %rsi
movq 0x8(%rcx), %rdx
movq 0xa7ce(%rip), %rdi      # 0xefd8
callq 0x3230
movq -0xc0(%rbp), %rsi
movq -0xb8(%rbp), %rdx
movq %rax, %rdi
callq 0x3230
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x31f0
movsbl %al, %esi
movq %r15, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3130
movq -0x70(%rbp), %rax
cmpl $0x0, 0x8(%rax)
je 0x4924
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 0x5500
leaq 0x68af(%rip), %rsi      # 0xb132
leaq -0x68(%rbp), %rdi
callq 0x3360
movq -0x68(%rbp), %rsi
movq -0x60(%rbp), %rdx
movq 0xa73d(%rip), %rdi      # 0xefd8
callq 0x3230
movq %rax, %r12
leaq 0x687e(%rip), %rsi      # 0xb128
movl $0x8, %edx
movq %rax, %rdi
callq 0x3230
movq (%r14), %rsi
movq -0x70(%rbp), %rax
movl 0x8(%rax), %edx
leaq -0x48(%rbp), %rdi
callq 0x5e46
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq %r12, %rdi
callq 0x3230
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x31f0
movsbl %al, %esi
movq %r15, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3130
leaq -0x38(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4916
callq 0x31d0
movq -0x68(%rbp), %rdi
cmpq %r13, %rdi
je 0x4924
callq 0x31d0
movq -0x70(%rbp), %rax
cmpl $0x0, 0xc(%rax)
je 0x4d21
xorl %r13d, %r13d
movq (%r14), %rsi
leaq -0x68(%rbp), %rdi
movq %rbx, %rdx
callq 0x73c4
movl (%rbx), %r12d
movq %rbx, %rdi
callq 0x74fa
testb %al, %al
movq 0x10(%rbp), %rax
leaq -0x48(%rbp), %r15
leaq -0x38(%rbp), %rcx
je 0x4a8d
movq %rcx, -0x48(%rbp)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x5500
movq %r15, %rdi
leaq 0x67af(%rip), %rsi      # 0xb132
callq 0x3360
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq 0xa641(%rip), %rdi      # 0xefd8
callq 0x3230
movq -0x68(%rbp), %rsi
movq -0x60(%rbp), %rdx
movq %rax, %rdi
callq 0x3230
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
leaq 0x6783(%rip), %rsi      # 0xb141
callq 0x3230
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 0x3120
movq %rax, %r15
movl $0x6, %edx
movq %rax, %rdi
leaq 0x673d(%rip), %rsi      # 0xb134
callq 0x3230
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 0x3120
movq %rax, %r12
movl $0x2, %edx
movq %rax, %rdi
leaq 0x67f1(%rip), %rsi      # 0xb221
callq 0x3230
movq (%r14), %rsi
leaq 0x4(%rbx), %rdx
leaq -0x90(%rbp), %rdi
callq 0x750e
movq -0x90(%rbp), %rsi
movq -0x88(%rbp), %rdx
movq %r12, %rdi
callq 0x3230
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x31f0
movsbl %al, %esi
movq %r15, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3130
jmp 0x4bb2
movq %rcx, -0x48(%rbp)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x5500
movq %r15, %rdi
leaq 0x6684(%rip), %rsi      # 0xb131
callq 0x3360
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq 0xa517(%rip), %rdi      # 0xefd8
callq 0x3230
movq -0x68(%rbp), %rsi
movq -0x60(%rbp), %rdx
movq %rax, %rdi
callq 0x3230
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
leaq 0x6659(%rip), %rsi      # 0xb141
callq 0x3230
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 0x3120
movq %rax, %r15
movl $0x6, %edx
movq %rax, %rdi
leaq 0x6613(%rip), %rsi      # 0xb134
callq 0x3230
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 0x3120
movq %rax, %r12
movl $0x4, %edx
movq %rax, %rdi
leaq 0x65e1(%rip), %rsi      # 0xb13b
callq 0x3230
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 0x3230
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x31f0
movsbl %al, %esi
movq %r15, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3130
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x4bc7
callq 0x31d0
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x4bd9
callq 0x31d0
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0x4beb
callq 0x31d0
incq %r13
movq -0x70(%rbp), %rax
movl 0xc(%rax), %eax
addq $0xc, %rbx
cmpq %rax, %r13
jb 0x4935
jmp 0x4d21
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 0x5500
leaq 0x6505(%rip), %rsi      # 0xb132
leaq -0x68(%rbp), %rdi
callq 0x3360
movq -0x68(%rbp), %rsi
movq -0x60(%rbp), %rdx
movq 0xa393(%rip), %rdi      # 0xefd8
callq 0x3230
movq -0xc0(%rbp), %rsi
movq -0xb8(%rbp), %rdx
movq %rax, %rdi
callq 0x3230
movq %rax, %r14
leaq 0x64d6(%rip), %rsi      # 0xb140
movl $0x2, %edx
movq %rax, %rdi
callq 0x3230
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 0x3120
movq %rax, %r14
leaq 0x648e(%rip), %rsi      # 0xb134
movl $0x6, %edx
movq %rax, %rdi
callq 0x3230
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 0x3120
movq %rax, %rbx
leaq 0x6536(%rip), %rsi      # 0xb215
movl $0x1, %edx
movq %rax, %rdi
callq 0x3230
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x31f0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3130
movq -0x68(%rbp), %rdi
cmpq %r15, %rdi
je 0x4d21
callq 0x31d0
leaq -0xb0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4d36
callq 0x31d0
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x4dad
jmp 0x4de4
jmp 0x4d64
jmp 0x4d64
jmp 0x4de4
jmp 0x4dbd
movq %rax, %rbx
jmp 0x4dce
jmp 0x4de4
movq %rax, %rbx
jmp 0x4d9b
movq %rax, %rbx
movq -0x98(%rbp), %rdi
testq %rdi, %rdi
je 0x4e48
callq 0x3dfa
jmp 0x4e48
movq %rax, %rbx
leaq -0x38(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4d9b
callq 0x31d0
movq -0x68(%rbp), %rdi
cmpq %r13, %rdi
jne 0x4e2e
jmp 0x4e33
movq %rax, %rbx
movq -0x68(%rbp), %rdi
cmpq %r15, %rdi
jne 0x4e2e
jmp 0x4e33
jmp 0x4de4
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x4dce
callq 0x31d0
leaq -0x58(%rbp), %rax
movq -0x10(%rax), %rdi
jmp 0x4e29
jmp 0x4e0c
jmp 0x4e0c
jmp 0x4e0c
jmp 0x4e0c
jmp 0x4de9
jmp 0x4de9
movq %rax, %rbx
jmp 0x4e33
movq %rax, %rbx
jmp 0x4e21
jmp 0x4df0
movq %rax, %rbx
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x4e0f
callq 0x31d0
jmp 0x4e0f
jmp 0x4e0c
movq %rax, %rbx
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x4e21
callq 0x31d0
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0x4e33
callq 0x31d0
leaq -0xb0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4e48
callq 0x31d0
movq %rbx, %rdi
callq 0x3340