; ; sub_1800173F0 from 0x1800173f0 to 0x1800174bc (204 bytes) ; ; 3 xrefs: ; > cocos2d::extension::CCHttpClient::~CCHttpClient @ 0x1800176ab ; > cocos2d::extension::CCHttpClient::~CCHttpClient @ 0x1800176bc ; > @ 0x18004c998 ; ; 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 ; mov [rsp+arg_0], rbx ; +0x0, 0x1800173f0 push rdi ; +0x5, 0x1800173f5 sub rsp, 30h ; +0x6, 0x1800173f6 mov rdi, rcx ; +0xa, 0x1800173fa add rcx, 40h ; '@'; _Mtx_t ; +0xd, 0x1800173fd call cs:_Mtx_lock ; +0x11, 0x180017401 test eax, eax ; +0x17, 0x180017407 jnz loc_1800174B0 ; +0x19, 0x180017409 cmp dword ptr [rdi+8Ch], 7FFFFFFFh ; +0x1f, 0x18001740f jnz short loc_180017431 ; +0x29, 0x180017419 mov ecx, 6 ; +0x2b, 0x18001741b mov dword ptr [rdi+8Ch], 7FFFFFFEh ; +0x30, 0x180017420 call cs:?_Throw_Cpp_error@std@@YAXH@Z; std::_Throw_Cpp_error(int) ; +0x3a, 0x18001742a int 3; Trap to Debugger ; +0x40, 0x180017430 lea rcx, [rdi+40h]; _Mtx_t ; +0x41, 0x180017431 mov byte ptr [rdi+0D8h], 1 ; +0x45, 0x180017435 call cs:_Mtx_unlock ; +0x4c, 0x18001743c lea rcx, [rdi+90h]; _Cnd_t ; +0x52, 0x180017442 call cs:_Cnd_broadcast ; +0x59, 0x180017449 mov rbx, [rdi] ; +0x5f, 0x18001744f mov rdi, [rdi+8] ; +0x62, 0x180017452 cmp rbx, rdi ; +0x66, 0x180017456 jz short loc_180017499 ; +0x69, 0x180017459 nop dword ptr [rax+rax+00h] ; +0x6b, 0x18001745b cmp dword ptr [rbx+8], 0 ; +0x70, 0x180017460 jz short loc_180017490 ; +0x74, 0x180017464 call cs:_Thrd_id ; +0x76, 0x180017466 cmp [rbx+8], eax ; +0x7c, 0x18001746c jz short loc_1800174B0 ; +0x7f, 0x18001746f movups xmm0, xmmword ptr [rbx] ; +0x81, 0x180017471 xor edx, edx; int * ; +0x84, 0x180017474 lea rcx, [rsp+38h+var_18]; _Thrd_t ; +0x86, 0x180017476 movaps xmmword ptr [rsp+38h+var_18._Hnd], xmm0 ; +0x8b, 0x18001747b call cs:_Thrd_join ; +0x90, 0x180017480 test eax, eax ; +0x96, 0x180017486 jnz short loc_1800174A4 ; +0x98, 0x180017488 xorps xmm0, xmm0 ; +0x9a, 0x18001748a movups xmmword ptr [rbx], xmm0 ; +0x9d, 0x18001748d add rbx, 10h ; +0xa0, 0x180017490 cmp rbx, rdi ; +0xa4, 0x180017494 jnz short loc_180017460 ; +0xa7, 0x180017497 mov rbx, [rsp+38h+arg_0] ; +0xa9, 0x180017499 add rsp, 30h ; +0xae, 0x18001749e pop rdi ; +0xb2, 0x1800174a2 retn ; +0xb3, 0x1800174a3 mov ecx, 2 ; +0xb4, 0x1800174a4 call cs:?_Throw_Cpp_error@std@@YAXH@Z; std::_Throw_Cpp_error(int) ; +0xb9, 0x1800174a9 int 3; Trap to Debugger ; +0xbf, 0x1800174af mov ecx, 5 ; +0xc0, 0x1800174b0 call cs:?_Throw_Cpp_error@std@@YAXH@Z; std::_Throw_Cpp_error(int) ; +0xc5, 0x1800174b5 db 0CCh ; +0xcb, 0x1800174bb