// File: /workspace/github_c_makefile_star2_O0/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:
subq $0x1f8, %rsp            # imm = 0x1F8
movq %rdi, 0x1f0(%rsp)
movq %rsi, 0x1e8(%rsp)
movl %edx, 0x1e4(%rsp)
movq 0x1f0(%rsp), %rax
movq %rax, 0x88(%rsp)
leaq 0x1c0(%rsp), %rdi
movq %rdi, 0x90(%rsp)
callq 0xd1b0
movq 0x88(%rsp), %rdi
movq 0x90(%rsp), %rsi
callq 0x10450
jmp 0x42a0a
leaq 0x1c0(%rsp), %rdi
callq 0xdf50
movq 0x1f0(%rsp), %rdi
leaq 0x7d5a3(%rip), %rsi     # 0xbffc9
leaq 0x84b71(%rip), %rdx     # 0xc759e
callq 0xb1a50
movq 0x1f0(%rsp), %rdi
leaq 0x7ceaf(%rip), %rsi     # 0xbf8f0
leaq 0x7d589(%rip), %rdx     # 0xbffd1
callq 0xb1a50
movq 0x1f0(%rsp), %rdi
leaq 0x7d57f(%rip), %rsi     # 0xbffdb
leaq 0x7d586(%rip), %rdx     # 0xbffe9
callq 0xb1a50
leaq 0x18f(%rsp), %rdi
movq %rdi, 0x80(%rsp)
callq 0xdc30
movq 0x80(%rsp), %rdx
leaq 0x7cea9(%rip), %rsi     # 0xbf935
leaq 0x190(%rsp), %rdi
callq 0xdad0
jmp 0x42a9b
leaq 0xac67e(%rip), %rdi     # 0xef120
leaq 0x190(%rsp), %rsi
callq 0x23b70
movq %rax, 0x78(%rsp)
jmp 0x42ab6
leaq 0x167(%rsp), %rdi
movq %rdi, 0x70(%rsp)
callq 0xdc30
movq 0x70(%rsp), %rdx
leaq 0x7d528(%rip), %rsi     # 0xbfffc
leaq 0x168(%rsp), %rdi
callq 0xdad0
jmp 0x42ae3
movq 0x78(%rsp), %rdi
leaq 0x168(%rsp), %rsi
movl $0x1, %edx
callq 0x23bf0
movq %rax, 0x68(%rsp)
jmp 0x42b01
movq 0x68(%rsp), %rdi
movq 0x1f0(%rsp), %rsi
callq 0x24010
movq %rax, 0x60(%rsp)
jmp 0x42b1a
movq 0x60(%rsp), %rdi
callq 0x240c0
jmp 0x42b26
leaq 0x168(%rsp), %rdi
callq 0xdf50
leaq 0x167(%rsp), %rdi
callq 0xdf30
leaq 0x190(%rsp), %rdi
callq 0xdf50
leaq 0x18f(%rsp), %rdi
callq 0xdf30
leaq 0x13f(%rsp), %rdi
movq %rdi, 0x58(%rsp)
callq 0xdc30
movq 0x58(%rsp), %rdx
leaq 0x7cf14(%rip), %rsi     # 0xbfa8c
leaq 0x140(%rsp), %rdi
callq 0xdad0
jmp 0x42b87
leaq 0xac592(%rip), %rdi     # 0xef120
leaq 0x140(%rsp), %rsi
callq 0x23b70
movq %rax, 0x50(%rsp)
jmp 0x42ba2
leaq 0x117(%rsp), %rdi
movq %rdi, 0x48(%rsp)
callq 0xdc30
movq 0x48(%rsp), %rdx
leaq 0x7d17e(%rip), %rsi     # 0xbfd3e
leaq 0x118(%rsp), %rdi
callq 0xdad0
jmp 0x42bcf
movq 0x50(%rsp), %rdi
movl 0x1e4(%rsp), %edx
leaq 0x118(%rsp), %rsi
callq 0x24100
movq %rax, 0x40(%rsp)
jmp 0x42bef
leaq 0xef(%rsp), %rdi
movq %rdi, 0x38(%rsp)
callq 0xdc30
movq 0x38(%rsp), %rdx
leaq 0x7d401(%rip), %rsi     # 0xc000e
leaq 0xf0(%rsp), %rdi
callq 0xdad0
jmp 0x42c1c
movq 0x40(%rsp), %rdi
leaq 0xf0(%rsp), %rsi
movl $0x1, %edx
callq 0x23bf0
movq %rax, 0x30(%rsp)
jmp 0x42c3a
movq 0x30(%rsp), %rdi
movq 0x1f0(%rsp), %rsi
callq 0x24010
movq %rax, 0x28(%rsp)
jmp 0x42c53
movq 0x28(%rsp), %rdi
callq 0x240c0
jmp 0x42c5f
leaq 0xf0(%rsp), %rdi
callq 0xdf50
leaq 0xef(%rsp), %rdi
callq 0xdf30
leaq 0x118(%rsp), %rdi
callq 0xdf50
leaq 0x117(%rsp), %rdi
callq 0xdf30
leaq 0x140(%rsp), %rdi
callq 0xdf50
leaq 0x13f(%rsp), %rdi
callq 0xdf30
leaq 0xc7(%rsp), %rdi
movq %rdi, 0x20(%rsp)
callq 0xdc30
movq 0x20(%rsp), %rdx
leaq 0x7ccea(%rip), %rsi     # 0xbf9b5
leaq 0xc8(%rsp), %rdi
callq 0xdad0
jmp 0x42cda
leaq 0xac43f(%rip), %rdi     # 0xef120
leaq 0xc8(%rsp), %rsi
callq 0x23b70
movq %rax, 0x18(%rsp)
jmp 0x42cf5
leaq 0x9f(%rsp), %rdi
movq %rdi, 0x10(%rsp)
callq 0xdc30
movq 0x10(%rsp), %rdx
leaq 0x7cc69(%rip), %rsi     # 0xbf97c
leaq 0xa0(%rsp), %rdi
callq 0xdad0
jmp 0x42d22
movq 0x18(%rsp), %rdi
leaq 0xa0(%rsp), %rsi
xorl %edx, %edx
callq 0x24100
movq %rax, 0x8(%rsp)
jmp 0x42d3d
movq 0x8(%rsp), %rdi
movq 0x1f0(%rsp), %rsi
callq 0x24010
movq %rax, (%rsp)
jmp 0x42d55
movq (%rsp), %rdi
callq 0x240c0
jmp 0x42d60
leaq 0xa0(%rsp), %rdi
callq 0xdf50
leaq 0x9f(%rsp), %rdi
callq 0xdf30
leaq 0xc8(%rsp), %rdi
callq 0xdf50
leaq 0xc7(%rsp), %rdi
callq 0xdf30
addq $0x1f8, %rsp            # imm = 0x1F8
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1b8(%rsp)
movl %eax, 0x1b4(%rsp)
leaq 0x1c0(%rsp), %rdi
callq 0xdf50
jmp 0x42fb6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1b8(%rsp)
movl %eax, 0x1b4(%rsp)
jmp 0x42e3f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1b8(%rsp)
movl %eax, 0x1b4(%rsp)
jmp 0x42e32
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1b8(%rsp)
movl %eax, 0x1b4(%rsp)
jmp 0x42e25
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1b8(%rsp)
movl %eax, 0x1b4(%rsp)
leaq 0x168(%rsp), %rdi
callq 0xdf50
leaq 0x167(%rsp), %rdi
callq 0xdf30
leaq 0x190(%rsp), %rdi
callq 0xdf50
leaq 0x18f(%rsp), %rdi
callq 0xdf30
jmp 0x42fb6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1b8(%rsp)
movl %eax, 0x1b4(%rsp)
jmp 0x42f1a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1b8(%rsp)
movl %eax, 0x1b4(%rsp)
jmp 0x42f0d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1b8(%rsp)
movl %eax, 0x1b4(%rsp)
jmp 0x42f00
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1b8(%rsp)
movl %eax, 0x1b4(%rsp)
jmp 0x42ef3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1b8(%rsp)
movl %eax, 0x1b4(%rsp)
jmp 0x42ee6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1b8(%rsp)
movl %eax, 0x1b4(%rsp)
leaq 0xf0(%rsp), %rdi
callq 0xdf50
leaq 0xef(%rsp), %rdi
callq 0xdf30
leaq 0x118(%rsp), %rdi
callq 0xdf50
leaq 0x117(%rsp), %rdi
callq 0xdf30
leaq 0x140(%rsp), %rdi
callq 0xdf50
leaq 0x13f(%rsp), %rdi
callq 0xdf30
jmp 0x42fb6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1b8(%rsp)
movl %eax, 0x1b4(%rsp)
jmp 0x42fa9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1b8(%rsp)
movl %eax, 0x1b4(%rsp)
jmp 0x42f9c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1b8(%rsp)
movl %eax, 0x1b4(%rsp)
jmp 0x42f8f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1b8(%rsp)
movl %eax, 0x1b4(%rsp)
leaq 0xa0(%rsp), %rdi
callq 0xdf50
leaq 0x9f(%rsp), %rdi
callq 0xdf30
leaq 0xc8(%rsp), %rdi
callq 0xdf50
leaq 0xc7(%rsp), %rdi
callq 0xdf30
movq 0x1b8(%rsp), %rdi
callq 0xd8a0
nopw %cs:(%rax,%rax)
nopl (%rax)