// File: mh0fm4[P]SCDC/src/components/dataprov/dataprov_store_mem.cc
// Function: scdc_dataprov_store_mem_handler::ls_entries(scdc_dataprov_store_mem_handler::store_data_t*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
bool scdc_dataprov_store_mem_handler::ls_entries(store_t store, std::string &result)
{
  SCDC_TRACE_F("store: '" << store << "'");

  bool ret = false;

  result = zxx::to_string(store->entries.size()) + "|";

  for (entries_t::const_iterator i = store->entries.begin(); i != store->entries.end(); ++i)
  {
    result += (*i)->name + ":" + zxx::to_string((*i)->buf.current) + "|";
  }

  ret = true;

  SCDC_TRACE_F("return: " << ret << ", result: " << result);

  return ret;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x120, %rsp            # imm = 0x120
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
jmp 0x36ff9
movb $0x0, -0x19(%rbp)
movq -0x10(%rbp), %rdi
addq $0x20, %rdi
callq 0x3b160
movq %rax, %rsi
leaq -0x60(%rbp), %rdi
movq %rdi, -0x118(%rbp)
callq 0x3ae30
movq -0x118(%rbp), %rsi
leaq 0x704d4(%rip), %rdx     # 0xa74ff
leaq -0x40(%rbp), %rdi
callq 0x2eef0
jmp 0x37036
movq -0x18(%rbp), %rdi
leaq -0x40(%rbp), %rsi
callq 0xc850
leaq -0x40(%rbp), %rdi
callq 0xc3e0
leaq -0x60(%rbp), %rdi
callq 0xc3e0
movq -0x10(%rbp), %rdi
addq $0x20, %rdi
callq 0x3b290
movq %rax, -0x80(%rbp)
leaq -0x78(%rbp), %rdi
leaq -0x80(%rbp), %rsi
callq 0x3b2c0
movq -0x10(%rbp), %rdi
addq $0x20, %rdi
callq 0x3b310
movq %rax, -0x90(%rbp)
leaq -0x88(%rbp), %rdi
leaq -0x90(%rbp), %rsi
callq 0x3b2c0
leaq -0x78(%rbp), %rdi
leaq -0x88(%rbp), %rsi
callq 0x3b2e0
testb $0x1, %al
jne 0x370b3
jmp 0x37201
leaq -0x78(%rbp), %rdi
movq %rdi, -0x120(%rbp)
callq 0x3b340
movq (%rax), %rsi
leaq 0x6f297(%rip), %rdx     # 0xa6364
leaq -0xf0(%rbp), %rdi
callq 0x31740
movq -0x120(%rbp), %rdi
callq 0x3b340
movq (%rax), %rax
movq 0x30(%rax), %rsi
leaq -0x110(%rbp), %rdi
callq 0x3b370
jmp 0x370fa
leaq -0xd0(%rbp), %rdi
leaq -0xf0(%rbp), %rsi
leaq -0x110(%rbp), %rdx
callq 0x3b090
jmp 0x37116
leaq 0x703e2(%rip), %rdx     # 0xa74ff
leaq -0xb0(%rbp), %rdi
leaq -0xd0(%rbp), %rsi
callq 0x2eef0
jmp 0x37132
movq -0x18(%rbp), %rdi
leaq -0xb0(%rbp), %rsi
callq 0xc8a0
jmp 0x37144
leaq -0xb0(%rbp), %rdi
callq 0xc3e0
leaq -0xd0(%rbp), %rdi
callq 0xc3e0
leaq -0x110(%rbp), %rdi
callq 0xc3e0
leaq -0xf0(%rbp), %rdi
callq 0xc3e0
leaq -0x78(%rbp), %rdi
callq 0x3b4a0
jmp 0x37073
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
leaq -0x60(%rbp), %rdi
callq 0xc3e0
jmp 0x37215
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
jmp 0x371f3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
jmp 0x371e7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
jmp 0x371db
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
leaq -0xb0(%rbp), %rdi
callq 0xc3e0
leaq -0xd0(%rbp), %rdi
callq 0xc3e0
leaq -0x110(%rbp), %rdi
callq 0xc3e0
leaq -0xf0(%rbp), %rdi
callq 0xc3e0
jmp 0x37215
movb $0x1, -0x19(%rbp)
jmp 0x37207
movb -0x19(%rbp), %al
andb $0x1, %al
addq $0x120, %rsp            # imm = 0x120
popq %rbp
retq
movq -0x68(%rbp), %rdi
callq 0xcba0
nop