// File: bluesky466[P]ResourcesParser/ResourcesParserInterpreter.cpp
// Function: ResourcesParserInterpreter::parserResource(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void ResourcesParserInterpreter::parserResource(const string& type) {
	for(auto it : mParser->getResourceForPackageName()) {
		cout<<it.first<<endl;
		ResourcesParser::ResStringPoolPtr types = it.second->pTypes;
		for(uint32_t i = 0 ; i < types->header.stringCount ; i++) {
			string resType = ResourcesParser::getStringFromResStringPool(types, i);
			if(type==ALL_TYPE || type == resType){
				parserResource(it.second, ID(i), resType, "\t");
			}
		}
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x120, %rsp            # imm = 0x120
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0xf0(%rbp)
movq (%rax), %rdi
callq 0x6430
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
callq 0x6450
movq %rax, -0x20(%rbp)
movq -0x18(%rbp), %rdi
callq 0x6480
movq %rax, -0x28(%rbp)
leaq -0x20(%rbp), %rdi
leaq -0x28(%rbp), %rsi
callq 0x64b0
testb $0x1, %al
jne 0x4eba
jmp 0x511b
leaq -0x20(%rbp), %rdi
callq 0x64e0
movq %rax, %rsi
leaq -0x58(%rbp), %rdi
movq %rdi, -0x100(%rbp)
callq 0x6510
movq -0x100(%rbp), %rsi
movq 0x220e4(%rip), %rdi     # 0x26fc8
callq 0x3230
movq %rax, -0xf8(%rbp)
jmp 0x4ef2
movq -0xf8(%rbp), %rdi
movq 0x220a8(%rip), %rsi     # 0x26fa8
callq 0x3290
jmp 0x4f07
leaq -0x58(%rbp), %rdi
addq $0x20, %rdi
callq 0x6550
movq %rax, %rsi
addq $0x120, %rsi            # imm = 0x120
leaq -0x78(%rbp), %rdi
callq 0x6570
movl $0x0, -0x7c(%rbp)
movl -0x7c(%rbp), %eax
movl %eax, -0x104(%rbp)
leaq -0x78(%rbp), %rdi
callq 0x65a0
movq %rax, %rcx
movl -0x104(%rbp), %eax
cmpl 0x8(%rcx), %eax
jae 0x50e7
leaq -0xb0(%rbp), %rdi
movq %rdi, -0x110(%rbp)
leaq -0x78(%rbp), %rsi
callq 0x6570
movq -0x110(%rbp), %rsi
movl -0x7c(%rbp), %edx
leaq -0xa0(%rbp), %rdi
callq 0xa9b0
jmp 0x4f81
leaq -0xb0(%rbp), %rdi
callq 0x43a0
movq -0x10(%rbp), %rdi
leaq 0x222e0(%rip), %rsi     # 0x27278
callq 0x65c0
testb $0x1, %al
jne 0x4fba
movq -0x10(%rbp), %rdi
leaq -0xa0(%rbp), %rsi
callq 0x65c0
testb $0x1, %al
jne 0x4fba
jmp 0x50cd
leaq -0x38(%rbp), %rsi
leaq -0xc0(%rbp), %rdi
callq 0x6650
movl -0x7c(%rbp), %eax
incl %eax
movl %eax, -0x11c(%rbp)
leaq -0xe1(%rbp), %rdi
movq %rdi, -0x118(%rbp)
callq 0x3460
movq -0x118(%rbp), %rdx
leaq 0x1512e(%rip), %rsi     # 0x1a124
leaq -0xe0(%rbp), %rdi
callq 0x3360
jmp 0x5004
movl -0x11c(%rbp), %edx
movq -0xf0(%rbp), %rdi
leaq -0xc0(%rbp), %rsi
leaq -0xa0(%rbp), %rcx
leaq -0xe0(%rbp), %r8
callq 0x5130
jmp 0x502d
leaq -0xe0(%rbp), %rdi
callq 0x34a8
leaq -0xe1(%rbp), %rdi
callq 0x32a0
leaq -0xc0(%rbp), %rdi
callq 0x4820
jmp 0x50cd
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
jmp 0x5110
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
leaq -0xb0(%rbp), %rdi
callq 0x43a0
jmp 0x5107
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
jmp 0x50a7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
leaq -0xe0(%rbp), %rdi
callq 0x34a8
leaq -0xe1(%rbp), %rdi
callq 0x32a0
leaq -0xc0(%rbp), %rdi
callq 0x4820
leaq -0xa0(%rbp), %rdi
callq 0x34a8
jmp 0x5107
leaq -0xa0(%rbp), %rdi
callq 0x34a8
movl -0x7c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x7c(%rbp)
jmp 0x4f2e
leaq -0x78(%rbp), %rdi
callq 0x43a0
leaq -0x58(%rbp), %rdi
callq 0x4d30
leaq -0x20(%rbp), %rdi
callq 0x6680
jmp 0x4ea4
leaq -0x78(%rbp), %rdi
callq 0x43a0
leaq -0x58(%rbp), %rdi
callq 0x4d30
jmp 0x5124
addq $0x120, %rsp            # imm = 0x120
popq %rbp
retq
movq -0x60(%rbp), %rdi
callq 0x3450
nopl (%rax)