; ; cocos2d::CCEGLView::~CCEGLView from 0x180075a50 to 0x180075b7b (299 bytes) ; ; 4 xrefs: ; > sub_180075BB0 @ 0x180075c0e ; > sub_180075BB0 @ 0x180075bcc ; > @ 0x1801438a8 ; > @ 0x1801b46c8 ; ; 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, 0x180075a50 push rdi ; +0x5, 0x180075a55 sub rsp, 30h ; +0x6, 0x180075a56 mov rbx, rcx ; +0xa, 0x180075a5a lea rax, ??_7CCEGLView@cocos2d@@6BCCEGLViewProtocol@1@@; const cocos2d::CCEGLView::`vftable'{for `cocos2d::CCEGLViewProtocol'} ; +0xd, 0x180075a5d mov [rcx], rax ; +0x14, 0x180075a64 lea rax, ??_7CCEGLView@cocos2d@@6BCCObject@1@@; const cocos2d::CCEGLView::`vftable'{for `cocos2d::CCObject'} ; +0x17, 0x180075a67 mov [rcx+78h], rax ; +0x1e, 0x180075a6e xor eax, eax ; +0x22, 0x180075a72 xchg al, cs:byte_1801A8528 ; +0x24, 0x180075a74 mov rcx, cs:hWnd; hWnd ; +0x2a, 0x180075a7a test rcx, rcx ; +0x31, 0x180075a81 jz short loc_180075A96 ; +0x34, 0x180075a84 xor r9d, r9d; lParam ; +0x36, 0x180075a86 xor r8d, r8d; wParam ; +0x39, 0x180075a89 lea edx, [r9+12h]; Msg ; +0x3c, 0x180075a8c call cs:PostMessageA ; +0x40, 0x180075a90 cmp cs:dword_1801A8538, 0 ; +0x46, 0x180075a96 jz short loc_180075ADA ; +0x4d, 0x180075a9d call _Thrd_id ; +0x4f, 0x180075a9f cmp cs:dword_1801A8538, eax ; +0x54, 0x180075aa4 jz loc_180075B70 ; +0x5a, 0x180075aaa movups xmm0, xmmword ptr cs:unk_1801A8530 ; +0x60, 0x180075ab0 movaps xmmword ptr [rsp+38h+var_18._Hnd], xmm0 ; +0x67, 0x180075ab7 xor edx, edx; int * ; +0x6c, 0x180075abc lea rcx, [rsp+38h+var_18]; _Thrd_t ; +0x6e, 0x180075abe call _Thrd_join ; +0x73, 0x180075ac3 test eax, eax ; +0x78, 0x180075ac8 jnz loc_180075B65 ; +0x7a, 0x180075aca xorps xmm0, xmm0 ; +0x80, 0x180075ad0 movups xmmword ptr cs:unk_1801A8530, xmm0 ; +0x83, 0x180075ad3 mov cs:hWnd, 0 ; +0x8a, 0x180075ada lea rcx, unk_1801A8558; _Mtx_t ; +0x95, 0x180075ae5 call _Mtx_lock ; +0x9c, 0x180075aec test eax, eax ; +0xa1, 0x180075af1 jnz short loc_180075B70 ; +0xa3, 0x180075af3 cmp cs:dword_1801A85A4, 7FFFFFFFh ; +0xa5, 0x180075af5 jz short loc_180075B50 ; +0xaf, 0x180075aff lea rcx, xmmword_1801A85A8 ; +0xb1, 0x180075b01 call sub_180076360 ; +0xb8, 0x180075b08 lea rcx, unk_1801A8558; _Mtx_t ; +0xbd, 0x180075b0d call _Mtx_unlock ; +0xc4, 0x180075b14 lea rcx, dword_1801A85D0 ; +0xc9, 0x180075b19 call sub_180076710 ; +0xd0, 0x180075b20 mov cs:qword_1801A8500, 0 ; +0xd5, 0x180075b25 call sub_1800D39A0 ; +0xe0, 0x180075b30 lea rcx, [rbx+78h]; this ; +0xe5, 0x180075b35 call ??1CCObject@cocos2d@@UEAA@XZ; cocos2d::CCObject::~CCObject(void) ; +0xe9, 0x180075b39 mov rcx, rbx; this ; +0xee, 0x180075b3e mov rbx, [rsp+38h+arg_0] ; +0xf1, 0x180075b41 add rsp, 30h ; +0xf6, 0x180075b46 pop rdi ; +0xfa, 0x180075b4a jmp ??1CCEGLViewProtocol@cocos2d@@UEAA@XZ; cocos2d::CCEGLViewProtocol::~CCEGLViewProtocol(void) ; +0xfb, 0x180075b4b mov cs:dword_1801A85A4, 7FFFFFFEh ; +0x100, 0x180075b50 mov ecx, 6; int ; +0x10a, 0x180075b5a call ?_Throw_Cpp_error@std@@YAXH@Z; std::_Throw_Cpp_error(int) ; +0x10f, 0x180075b5f int 3; Trap to Debugger ; +0x114, 0x180075b64 mov ecx, 2; int ; +0x115, 0x180075b65 call ?_Throw_Cpp_error@std@@YAXH@Z; std::_Throw_Cpp_error(int) ; +0x11a, 0x180075b6a int 3; Trap to Debugger ; +0x11f, 0x180075b6f mov ecx, 5; int ; +0x120, 0x180075b70 call ?_Throw_Cpp_error@std@@YAXH@Z; std::_Throw_Cpp_error(int) ; +0x125, 0x180075b75 db 0CCh ; +0x12a, 0x180075b7a