; ; cocos2d::extension::CCHttpClient::send from 0x180017990 to 0x180017b29 (409 bytes) ; ; 2 xrefs: ; > @ 0x180032408 ; > @ 0x18004c9ec ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 12:15:42 +0000 ; test rdx, rdx ; +0x0, 0x180017990 jz locret_180017B28 ; +0x3, 0x180017993 mov [rsp+arg_10], rbx ; +0x9, 0x180017999 push rbp ; +0xe, 0x18001799e push rsi ; +0xf, 0x18001799f push rdi ; +0x10, 0x1800179a0 sub rsp, 90h ; +0x11, 0x1800179a1 mov rax, cs:__security_cookie ; +0x18, 0x1800179a8 xor rax, rsp ; +0x1f, 0x1800179af mov [rsp+0A8h+var_28], rax ; +0x22, 0x1800179b2 mov rbx, rdx ; +0x2a, 0x1800179ba mov rdi, rcx ; +0x2d, 0x1800179bd mov rcx, rdx ; +0x30, 0x1800179c0 call cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x33, 0x1800179c3 lea rax, ??_7?$_Func_impl_no_alloc@V_lambda_ad044ab4199c6678eabf6fbd29b3d029_@@X$$V@std@@6B@; const std::_Func_impl_no_alloc<_lambda_ad044ab4199c6678eabf6fbd29b3d029_,void,>::`vftable' ; +0x39, 0x1800179c9 mov [rsp+0A8h+var_68], rax ; +0x40, 0x1800179d0 mov [rsp+0A8h+var_60], rbx ; +0x45, 0x1800179d5 lea rax, [rsp+0A8h+var_68] ; +0x4a, 0x1800179da mov [rsp+0A8h+var_30], rax ; +0x4f, 0x1800179df mov rbx, [rdi+38h] ; +0x54, 0x1800179e4 lea rdi, [rbx+40h] ; +0x58, 0x1800179e8 mov [rsp+0A8h+var_88], rdi ; +0x5c, 0x1800179ec mov [rsp+0A8h+var_80], 0 ; +0x61, 0x1800179f1 mov rcx, rdi; _Mtx_t ; +0x66, 0x1800179f6 call cs:_Mtx_lock ; +0x69, 0x1800179f9 test eax, eax ; +0x6f, 0x1800179ff jz short loc_180017A0F ; +0x71, 0x180017a01 mov ecx, 5 ; +0x73, 0x180017a03 call cs:?_Throw_Cpp_error@std@@YAXH@Z; std::_Throw_Cpp_error(int) ; +0x78, 0x180017a08 int 3; Trap to Debugger ; +0x7e, 0x180017a0e cmp dword ptr [rdi+4Ch], 7FFFFFFFh ; +0x7f, 0x180017a0f jnz short loc_180017A2B ; +0x86, 0x180017a16 mov dword ptr [rdi+4Ch], 7FFFFFFEh ; +0x88, 0x180017a18 mov ecx, 6 ; +0x8f, 0x180017a1f call cs:?_Throw_Cpp_error@std@@YAXH@Z; std::_Throw_Cpp_error(int) ; +0x94, 0x180017a24 int 3; Trap to Debugger ; +0x9a, 0x180017a2a mov [rsp+0A8h+var_80], 1 ; +0x9b, 0x180017a2b cmp byte ptr [rbx+0D8h], 0 ; +0xa0, 0x180017a30 jz short loc_180017A47 ; +0xa7, 0x180017a37 mov rcx, rdi; _Mtx_t ; +0xa9, 0x180017a39 call cs:_Mtx_unlock ; +0xac, 0x180017a3c jmp loc_180017AEB ; +0xb2, 0x180017a42 lea rcx, [rbx+18h] ; +0xb7, 0x180017a47 mov rax, [rbx+38h] ; +0xbb, 0x180017a4b inc rax ; +0xbf, 0x180017a4f cmp [rbx+28h], rax ; +0xc2, 0x180017a52 ja short loc_180017A5D ; +0xc6, 0x180017a56 call sub_180018960 ; +0xc8, 0x180017a58 mov rdx, [rbx+28h] ; +0xcd, 0x180017a5d dec rdx ; +0xd1, 0x180017a61 and [rbx+30h], rdx ; +0xd4, 0x180017a64 mov rbp, [rbx+30h] ; +0xd8, 0x180017a68 add rbp, [rbx+38h] ; +0xdc, 0x180017a6c mov rax, rbp ; +0xe0, 0x180017a70 and rax, rdx ; +0xe3, 0x180017a73 lea rsi, ds:0[rax*8] ; +0xe6, 0x180017a76 mov rax, [rbx+20h] ; +0xee, 0x180017a7e cmp qword ptr [rsi+rax], 0 ; +0xf2, 0x180017a82 jnz short loc_180017A9B ; +0xf7, 0x180017a87 mov ecx, 40h ; '@'; Size ; +0xf9, 0x180017a89 call sub_18001F040 ; +0xfe, 0x180017a8e mov rcx, [rbx+20h] ; +0x103, 0x180017a93 mov [rsi+rcx], rax ; +0x107, 0x180017a97 mov rcx, [rbx+28h] ; +0x10b, 0x180017a9b dec rcx ; +0x10f, 0x180017a9f and rcx, rbp ; +0x112, 0x180017aa2 mov rax, [rbx+20h] ; +0x115, 0x180017aa5 mov rsi, [rax+rcx*8] ; +0x119, 0x180017aa9 mov [rsp+0A8h+var_78], rsi ; +0x11d, 0x180017aad mov qword ptr [rsi+38h], 0 ; +0x122, 0x180017ab2 mov rcx, [rsp+0A8h+var_30] ; +0x12a, 0x180017aba test rcx, rcx ; +0x12f, 0x180017abf jz short loc_180017AD0 ; +0x132, 0x180017ac2 mov rax, [rcx] ; +0x134, 0x180017ac4 mov rdx, rsi ; +0x137, 0x180017ac7 call qword ptr [rax] ; +0x13a, 0x180017aca mov [rsi+38h], rax ; +0x13c, 0x180017acc inc qword ptr [rbx+38h] ; +0x140, 0x180017ad0 mov rcx, rdi; _Mtx_t ; +0x144, 0x180017ad4 call cs:_Mtx_unlock ; +0x147, 0x180017ad7 lea rcx, [rbx+90h]; _Cnd_t ; +0x14d, 0x180017add call cs:_Cnd_signal ; +0x154, 0x180017ae4 nop ; +0x15a, 0x180017aea mov rcx, [rsp+0A8h+var_30] ; +0x15b, 0x180017aeb test rcx, rcx ; +0x160, 0x180017af0 jz short loc_180017B06 ; +0x163, 0x180017af3 lea rax, [rsp+0A8h+var_68] ; +0x165, 0x180017af5 cmp rcx, rax ; +0x16a, 0x180017afa setnz dl ; +0x16d, 0x180017afd mov rax, [rcx] ; +0x170, 0x180017b00 call qword ptr [rax+20h] ; +0x173, 0x180017b03 mov rcx, [rsp+0A8h+var_28] ; +0x176, 0x180017b06 xor rcx, rsp; StackCookie ; +0x17e, 0x180017b0e call __security_check_cookie ; +0x181, 0x180017b11 mov rbx, [rsp+0A8h+arg_10] ; +0x186, 0x180017b16 add rsp, 90h ; +0x18e, 0x180017b1e pop rdi ; +0x195, 0x180017b25 pop rsi ; +0x196, 0x180017b26 pop rbp ; +0x197, 0x180017b27 retn ; +0x198, 0x180017b28