// File: /workspace/github_c_makefile_star2_O3/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 0x12380
movq %rbx, %rdi
movq %r14, %rsi
callq 0xf0c0
movq 0x68(%rsp), %rdi
cmpq %r15, %rdi
je 0x247e3
callq 0xc640
leaq 0x4d80f(%rip), %rsi     # 0x71ff9
leaq 0x544c6(%rip), %rdx     # 0x78cb7
movq %rbx, %rdi
callq 0x683fb
leaq 0x4d158(%rip), %rsi     # 0x71958
leaq 0x4d7fa(%rip), %rdx     # 0x72001
movq %rbx, %rdi
callq 0x683fb
leaq 0x4d7f5(%rip), %rsi     # 0x7200b
leaq 0x4d7fc(%rip), %rdx     # 0x72019
movq %rbx, %rdi
callq 0x683fb
leaq 0x38(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x4d168(%rip), %rsi     # 0x7199d
leaq 0x4d16c(%rip), %rdx     # 0x719a8
leaq 0x28(%rsp), %rdi
callq 0xedf0
leaq 0x704db(%rip), %rdi     # 0x94d28
leaq 0x28(%rsp), %rsi
callq 0x181be
movq %rax, %r14
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x4d7c1(%rip), %rsi     # 0x7202c
leaq 0x4d7cb(%rip), %rdx     # 0x7203d
leaq 0x8(%rsp), %rdi
callq 0xedf0
leaq 0x1c8(%r14), %rdi
leaq 0x8(%rsp), %rsi
callq 0x1c4c8
movb $0x1, (%rax)
movq %r14, %rdi
movq %rbx, %rsi
callq 0x18304
movq %rax, %r14
movq %rax, %rdi
callq 0x19de2
movq %r14, %rdi
callq 0xc640
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x248bd
callq 0xc640
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x248cc
callq 0xc640
leaq 0x28(%rsp), %rdi
movq %r15, (%rdi)
leaq 0x4d216(%rip), %rsi     # 0x71af1
leaq 0x4d218(%rip), %rdx     # 0x71afa
callq 0xedf0
leaq 0x7043a(%rip), %rdi     # 0x94d28
leaq 0x28(%rsp), %rsi
callq 0x181be
movq %rax, %r14
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x4d46c(%rip), %rsi     # 0x71d76
leaq 0x4d46e(%rip), %rdx     # 0x71d7f
callq 0xedf0
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
movl %ebp, %edx
callq 0x18388
movq %rax, %r14
leaq 0x58(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x4d706(%rip), %rsi     # 0x7203e
leaq 0x4d70a(%rip), %rdx     # 0x72049
leaq 0x48(%rsp), %rdi
callq 0xedf0
leaq 0x1c8(%r14), %rdi
leaq 0x48(%rsp), %rsi
callq 0x1c4c8
movb $0x1, (%rax)
movq %r14, %rdi
movq %rbx, %rsi
callq 0x18304
movq %rax, %r14
movq %rax, %rdi
callq 0x19de2
movq %r14, %rdi
callq 0xc640
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x2498a
callq 0xc640
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x24999
callq 0xc640
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x249a8
callq 0xc640
leaq 0x28(%rsp), %rdi
movq %r15, (%rdi)
leaq 0x4d066(%rip), %rsi     # 0x71a1d
leaq 0x4d06a(%rip), %rdx     # 0x71a28
callq 0xedf0
leaq 0x7035e(%rip), %rdi     # 0x94d28
leaq 0x28(%rsp), %rsi
callq 0x181be
movq %rax, %r14
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x4cffe(%rip), %rsi     # 0x719e4
leaq 0x4cffb(%rip), %rdx     # 0x719e8
callq 0xedf0
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
xorl %edx, %edx
callq 0x18388
movq %rax, %rdi
movq %rbx, %rsi
callq 0x18304
movq %rax, %rbx
movq %rax, %rdi
callq 0x19de2
movq %rbx, %rdi
callq 0xc640
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x24a2e
callq 0xc640
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x24a3d
callq 0xc640
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x24a61
jmp 0x24a61
jmp 0x24a66
jmp 0x24a8b
jmp 0x24a8b
jmp 0x24a61
jmp 0x24a61
jmp 0x24a66
jmp 0x24a61
movq %rax, %rbx
jmp 0x24a9d
movq %rax, %rbx
jmp 0x24aac
movq %rax, %rbx
movq 0x68(%rsp), %rdi
jmp 0x24aa2
jmp 0x24a8b
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x24a8e
callq 0xc640
jmp 0x24a8e
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x24a9d
callq 0xc640
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x24aac
callq 0xc640
movq %rbx, %rdi
callq 0xc760