; ; sub_180017490 from 0x180017490 to 0x18001755c (204 bytes) ; ; 3 xrefs: ; > cocos2d::extension::CCHttpClient::~CCHttpClient @ 0x18001772b ; > cocos2d::extension::CCHttpClient::~CCHttpClient @ 0x18001773c ; > @ 0x18004aa40 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; mov [rsp+arg_0], rbx ; +0x0, 0x180017490 push rdi ; +0x5, 0x180017495 sub rsp, 30h ; +0x6, 0x180017496 mov rdi, rcx ; +0xa, 0x18001749a add rcx, 40h ; '@'; _Mtx_t ; +0xd, 0x18001749d call cs:_Mtx_lock ; +0x11, 0x1800174a1 test eax, eax ; +0x17, 0x1800174a7 jnz loc_180017550 ; +0x19, 0x1800174a9 mov eax, [rdi+8Ch] ; +0x1f, 0x1800174af cmp eax, 7FFFFFFFh ; +0x25, 0x1800174b5 jnz short loc_1800174D0 ; +0x2a, 0x1800174ba dec eax ; +0x2c, 0x1800174bc mov ecx, 6 ; +0x2e, 0x1800174be mov [rdi+8Ch], eax ; +0x33, 0x1800174c3 call cs:?_Throw_Cpp_error@std@@YAXH@Z; std::_Throw_Cpp_error(int) ; +0x39, 0x1800174c9 int 3; Trap to Debugger ; +0x3f, 0x1800174cf lea rcx, [rdi+40h]; _Mtx_t ; +0x40, 0x1800174d0 mov byte ptr [rdi+0D8h], 1 ; +0x44, 0x1800174d4 call cs:_Mtx_unlock ; +0x4b, 0x1800174db lea rcx, [rdi+90h]; _Cnd_t ; +0x51, 0x1800174e1 call cs:_Cnd_broadcast ; +0x58, 0x1800174e8 mov rbx, [rdi] ; +0x5e, 0x1800174ee mov rdi, [rdi+8] ; +0x61, 0x1800174f1 cmp rbx, rdi ; +0x65, 0x1800174f5 jz short loc_180017539 ; +0x68, 0x1800174f8 nop word ptr [rax+rax+00h] ; +0x6a, 0x1800174fa cmp dword ptr [rbx+8], 0 ; +0x70, 0x180017500 jz short loc_180017530 ; +0x74, 0x180017504 call cs:_Thrd_id ; +0x76, 0x180017506 cmp [rbx+8], eax ; +0x7c, 0x18001750c jz short loc_180017550 ; +0x7f, 0x18001750f movups xmm0, xmmword ptr [rbx] ; +0x81, 0x180017511 xor edx, edx; int * ; +0x84, 0x180017514 lea rcx, [rsp+38h+var_18]; _Thrd_t ; +0x86, 0x180017516 movaps xmmword ptr [rsp+38h+var_18._Hnd], xmm0 ; +0x8b, 0x18001751b call cs:_Thrd_join ; +0x90, 0x180017520 test eax, eax ; +0x96, 0x180017526 jnz short loc_180017544 ; +0x98, 0x180017528 xorps xmm0, xmm0 ; +0x9a, 0x18001752a movups xmmword ptr [rbx], xmm0 ; +0x9d, 0x18001752d add rbx, 10h ; +0xa0, 0x180017530 cmp rbx, rdi ; +0xa4, 0x180017534 jnz short loc_180017500 ; +0xa7, 0x180017537 mov rbx, [rsp+38h+arg_0] ; +0xa9, 0x180017539 add rsp, 30h ; +0xae, 0x18001753e pop rdi ; +0xb2, 0x180017542 retn ; +0xb3, 0x180017543 mov ecx, 2 ; +0xb4, 0x180017544 call cs:?_Throw_Cpp_error@std@@YAXH@Z; std::_Throw_Cpp_error(int) ; +0xb9, 0x180017549 int 3; Trap to Debugger ; +0xbf, 0x18001754f mov ecx, 5 ; +0xc0, 0x180017550 call cs:?_Throw_Cpp_error@std@@YAXH@Z; std::_Throw_Cpp_error(int) ; +0xc5, 0x180017555 db 0CCh ; +0xcb, 0x18001755b