// File: /workspace/github_c_makefile_star2_O1/coyove[P]chann/./src/views/success.cpp
// Function: views::success::render(mg_connection*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, int)
void render(mg_connection* conn, string cookie, int id){
      //   	string url(conn->uri);
		    // vector<string> tmp = cc_split(url, "/");

		    // if(tmp.size() != 3){
		    //     views::info::render(conn, "Error");
		    //     return;
		    // }
		    // cclong id  = atol(tmp[tmp.size() - 1].c_str());

		    cck_send_ssid(conn, cookie);
		    mg_send_header(conn, "charset", "utf-8");
		    mg_send_header(conn, "Content-Type", "text/html");
		    mg_send_header(conn, "cache-control", "private, max-age=0");
		    
		    templates.invoke("site_header").toggle("success_post_page").pipe_to(conn).destory();
		    templates.invoke("info_page").var("THREAD_NO", id).toggle("return_page").pipe_to(conn).destory();
		    templates.invoke("site_footer").var("TIME", 0).pipe_to(conn).destory();
        }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movl %edx, %ebp
movq %rdi, %rbx
leaq 0x78(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rsi), %rax
movq 0x8(%rsi), %rdx
addq %rax, %rdx
leaq 0x68(%rsp), %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x12396
movq %rbx, %rdi
movq %r14, %rsi
callq 0xf0c3
movq 0x68(%rsp), %rdi
cmpq %r15, %rdi
je 0x24bcf
callq 0xc640
leaq 0x4f433(%rip), %rsi     # 0x74009
leaq 0x560da(%rip), %rdx     # 0x7acb7
movq %rbx, %rdi
callq 0x69fbf
leaq 0x4ed6c(%rip), %rsi     # 0x73958
leaq 0x4f41e(%rip), %rdx     # 0x74011
movq %rbx, %rdi
callq 0x69fbf
leaq 0x4f419(%rip), %rsi     # 0x7401b
leaq 0x4f420(%rip), %rdx     # 0x74029
movq %rbx, %rdi
callq 0x69fbf
leaq 0x38(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x4ed7c(%rip), %rsi     # 0x7399d
leaq 0x4ed80(%rip), %rdx     # 0x739a8
leaq 0x28(%rsp), %rdi
callq 0xedfa
leaq 0x720ef(%rip), %rdi     # 0x96d28
leaq 0x28(%rsp), %rsi
callq 0x1852c
movq %rax, %r14
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x4f3e5(%rip), %rsi     # 0x7403c
leaq 0x4f3ef(%rip), %rdx     # 0x7404d
leaq 0x8(%rsp), %rdi
callq 0xedfa
leaq 0x1c8(%r14), %rdi
leaq 0x8(%rsp), %rsi
callq 0x1c82a
movb $0x1, (%rax)
movq %r14, %rdi
movq %rbx, %rsi
callq 0x18672
movq %rax, %r14
movq %rax, %rdi
callq 0x1a17a
movq %r14, %rdi
callq 0xc640
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x24ca9
callq 0xc640
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x24cb8
callq 0xc640
leaq 0x28(%rsp), %rdi
movq %r15, (%rdi)
leaq 0x4ee2d(%rip), %rsi     # 0x73af4
leaq 0x4ee2f(%rip), %rdx     # 0x73afd
callq 0xedfa
leaq 0x7204e(%rip), %rdi     # 0x96d28
leaq 0x28(%rsp), %rsi
callq 0x1852c
movq %rax, %r14
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x4f086(%rip), %rsi     # 0x73d7c
leaq 0x4f088(%rip), %rdx     # 0x73d85
callq 0xedfa
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
movl %ebp, %edx
callq 0x186f6
movq %rax, %r14
leaq 0x58(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x4f32a(%rip), %rsi     # 0x7404e
leaq 0x4f32e(%rip), %rdx     # 0x74059
leaq 0x48(%rsp), %rdi
callq 0xedfa
leaq 0x1c8(%r14), %rdi
leaq 0x48(%rsp), %rsi
callq 0x1c82a
movb $0x1, (%rax)
movq %r14, %rdi
movq %rbx, %rsi
callq 0x18672
movq %rax, %r14
movq %rax, %rdi
callq 0x1a17a
movq %r14, %rdi
callq 0xc640
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x24d76
callq 0xc640
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x24d85
callq 0xc640
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x24d94
callq 0xc640
leaq 0x28(%rsp), %rdi
movq %r15, (%rdi)
leaq 0x4ec7a(%rip), %rsi     # 0x73a1d
leaq 0x4ec7e(%rip), %rdx     # 0x73a28
callq 0xedfa
leaq 0x71f72(%rip), %rdi     # 0x96d28
leaq 0x28(%rsp), %rsi
callq 0x1852c
movq %rax, %r14
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x4ec12(%rip), %rsi     # 0x739e4
leaq 0x4ec0f(%rip), %rdx     # 0x739e8
callq 0xedfa
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
xorl %edx, %edx
callq 0x186f6
movq %rax, %rdi
movq %rbx, %rsi
callq 0x18672
movq %rax, %rbx
movq %rax, %rdi
callq 0x1a17a
movq %rbx, %rdi
callq 0xc640
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x24e1a
callq 0xc640
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x24e29
callq 0xc640
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x24e4d
jmp 0x24e4d
jmp 0x24e52
jmp 0x24e77
jmp 0x24e77
jmp 0x24e4d
jmp 0x24e4d
jmp 0x24e52
jmp 0x24e4d
movq %rax, %rbx
jmp 0x24e89
movq %rax, %rbx
jmp 0x24e98
movq %rax, %rbx
movq 0x68(%rsp), %rdi
jmp 0x24e8e
jmp 0x24e77
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x24e7a
callq 0xc640
jmp 0x24e7a
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x24e89
callq 0xc640
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x24e98
callq 0xc640
movq %rbx, %rdi
callq 0xc760