// File: /workspace/github_cpp_makefile_star2_O3/slafi[P]EventSystem/EventSystem/main.cpp
// Function: callback_1(Events::EventArgs*)
void callback_1(EventArgs* args) {
	cout << "Callback #1 is notified and will show everything..." << endl;

	cout << "Callback #1 =>" << "Event type #" << args->get_event_type() << " triggered on " << args->get_timestamp() << endl;

	map<int, string> _args = *args->get_args();

	cout << "Callback #1 =>" << "Event type id: " << args->get_event_type() << endl;
	for (std::map<int, string>::iterator it = _args.begin(); it != _args.end(); ++it)
	{
		std::cout << "Callback #1 =>" << "Index: " << it->first << ", property: " << it->second << '\n';
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
movq 0x5551(%rip), %r14      # 0x7fd0
leaq 0x2625(%rip), %rsi      # 0x50ab
movl $0x33, %edx
movq %r14, %rdi
callq 0x21c0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2180
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20e0
leaq 0x261e(%rip), %rsi      # 0x50df
movl $0xe, %edx
movq %r14, %rdi
callq 0x21c0
leaq 0x2619(%rip), %rsi      # 0x50ee
movl $0xc, %edx
movq %r14, %rdi
callq 0x21c0
movq %rbx, %rdi
callq 0x3f06
movq %r14, %rdi
movl %eax, %esi
callq 0x2220
movq %rax, %r14
leaq 0x25fd(%rip), %rsi      # 0x50fb
movl $0xe, %edx
movq %rax, %rdi
callq 0x21c0
leaq -0x60(%rbp), %r15
movq %r15, %rdi
movq %rbx, %rsi
callq 0x3f18
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %r14, %rdi
callq 0x21c0
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2180
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20e0
leaq -0x50(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2b6c
movq -0x50(%rbp), %rsi
incq %rsi
callq 0x21a0
movq %rbx, %rdi
callq 0x3f0e
leaq -0x60(%rbp), %rdi
movq %rax, %rsi
callq 0x315a
movq 0x5449(%rip), %rdi      # 0x7fd0
leaq 0x2551(%rip), %rsi      # 0x50df
movl $0xe, %edx
callq 0x21c0
movq 0x5431(%rip), %rdi      # 0x7fd0
leaq 0x2564(%rip), %rsi      # 0x510a
movl $0xf, %edx
callq 0x21c0
movq %rbx, %rdi
callq 0x3f06
movq 0x5411(%rip), %rdi      # 0x7fd0
movl %eax, %esi
callq 0x2220
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2180
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20e0
leaq -0x58(%rbp), %r13
movq 0x10(%r13), %rbx
cmpq %r13, %rbx
je 0x2c8a
movq 0x53c8(%rip), %r14      # 0x7fd0
leaq -0x29(%rbp), %r15
movl $0xe, %edx
movq %r14, %rdi
leaq 0x24c4(%rip), %rsi      # 0x50df
callq 0x21c0
movl $0x7, %edx
movq %r14, %rdi
leaq 0x24eb(%rip), %rsi      # 0x511a
callq 0x21c0
movl 0x20(%rbx), %esi
movq %r14, %rdi
callq 0x2220
movq %rax, %r12
movl $0xc, %edx
movq %rax, %rdi
leaq 0x24d1(%rip), %rsi      # 0x5122
callq 0x21c0
movq 0x28(%rbx), %rsi
movq 0x30(%rbx), %rdx
movq %r12, %rdi
callq 0x21c0
movb $0xa, -0x29(%rbp)
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x21c0
movq %rbx, %rdi
callq 0x20f0
movq %rax, %rbx
cmpq %r13, %rax
jne 0x2c0c
leaq -0x60(%rbp), %rdi
callq 0x3024
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x50(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2cce
movq -0x50(%rbp), %rsi
incq %rsi
callq 0x21a0
jmp 0x2cce
jmp 0x2cc2
movq %rax, %rbx
leaq -0x60(%rbp), %rdi
callq 0x3024
movq %rbx, %rdi
callq 0x2230