// File: /workspace/github_c_makefile_star2_O2/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 %r14
pushq %rbx
subq $0x90, %rsp
movl %edx, %ebp
movq %rdi, %rbx
leaq 0x70(%rsp), %r14
movq %r14, %rdi
callq 0xc640
movq %rbx, %rdi
movq %r14, %rsi
callq 0xe1b3
leaq 0x70(%rsp), %rdi
callq 0xcd88
leaq 0x4253c(%rip), %rsi     # 0x61ff9
leaq 0x491d3(%rip), %rdx     # 0x68c97
movq %rbx, %rdi
callq 0x59518
leaq 0x41e55(%rip), %rsi     # 0x61928
leaq 0x42527(%rip), %rdx     # 0x62001
movq %rbx, %rdi
callq 0x59518
leaq 0x42522(%rip), %rsi     # 0x6200b
leaq 0x42529(%rip), %rdx     # 0x62019
movq %rbx, %rdi
callq 0x59518
leaq 0x41e6e(%rip), %rsi     # 0x6196d
leaq 0x30(%rsp), %rdi
leaq 0x50(%rsp), %rdx
callq 0xcb10
leaq 0x68233(%rip), %rdi     # 0x87d48
leaq 0x30(%rsp), %rsi
callq 0x14fb0
movq %rax, %r14
leaq 0x42503(%rip), %rsi     # 0x6202c
leaq 0x10(%rsp), %rdi
leaq 0xd(%rsp), %rdx
callq 0xcb10
leaq 0x1c8(%r14), %rdi
leaq 0x10(%rsp), %rsi
callq 0x189cc
movb $0x1, (%rax)
movq %r14, %rdi
movq %rbx, %rsi
callq 0x151b6
movq %rax, %rdi
callq 0x15224
leaq 0x10(%rsp), %rdi
callq 0xcd88
leaq 0x30(%rsp), %rdi
callq 0xcd88
leaq 0x41f47(%rip), %rsi     # 0x61ac1
leaq 0x30(%rsp), %rdi
leaq 0xd(%rsp), %rdx
callq 0xcb10
leaq 0x681b8(%rip), %rdi     # 0x87d48
leaq 0x30(%rsp), %rsi
callq 0x14fb0
movq %rax, %r14
leaq 0x421cc(%rip), %rsi     # 0x61d70
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0xcb10
leaq 0x10(%rsp), %rsi
movq %r14, %rdi
movl %ebp, %edx
callq 0x15236
movq %rax, %r14
leaq 0x42472(%rip), %rsi     # 0x6203e
leaq 0x50(%rsp), %rdi
leaq 0xe(%rsp), %rdx
callq 0xcb10
leaq 0x1c8(%r14), %rdi
leaq 0x50(%rsp), %rsi
callq 0x189cc
movb $0x1, (%rax)
movq %r14, %rdi
movq %rbx, %rsi
callq 0x151b6
movq %rax, %rdi
callq 0x15224
leaq 0x50(%rsp), %rdi
callq 0xcd88
leaq 0x10(%rsp), %rdi
callq 0xcd88
leaq 0x30(%rsp), %rdi
callq 0xcd88
leaq 0x41dc6(%rip), %rsi     # 0x619ed
leaq 0x30(%rsp), %rdi
leaq 0x50(%rsp), %rdx
callq 0xcb10
leaq 0x6810b(%rip), %rdi     # 0x87d48
leaq 0x30(%rsp), %rsi
callq 0x14fb0
movq %rax, %r14
leaq 0x41d63(%rip), %rsi     # 0x619b4
leaq 0x10(%rsp), %rdi
leaq 0xd(%rsp), %rdx
callq 0xcb10
leaq 0x10(%rsp), %rsi
movq %r14, %rdi
xorl %edx, %edx
callq 0x15236
movq %rax, %rdi
movq %rbx, %rsi
callq 0x151b6
movq %rax, %rdi
callq 0x15224
leaq 0x10(%rsp), %rdi
callq 0xcd88
leaq 0x30(%rsp), %rdi
callq 0xcd88
addq $0x90, %rsp
popq %rbx
popq %r14
popq %rbp
retq
jmp 0x1fcb4
jmp 0x1fcb4
jmp 0x1fcb9
jmp 0x1fcd9
jmp 0x1fcd9
jmp 0x1fcb4
jmp 0x1fcb4
jmp 0x1fcb9
jmp 0x1fcb4
movq %rax, %rbx
jmp 0x1fce6
movq %rax, %rbx
jmp 0x1fcf0
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
jmp 0x1fceb
jmp 0x1fcd9
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0xcd88
jmp 0x1fcdc
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0xcd88
leaq 0x30(%rsp), %rdi
callq 0xcd88
movq %rbx, %rdi
callq 0xc790