; ; cocos2d::CCEGLView::createWithRect from 0x180079700 to 0x18007978c (140 bytes) ; ; 2 xrefs: ; > @ 0x18014cf68 ; > @ 0x1801bebcc ; ; 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 11:21:59 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x180079700 mov [rsp+arg_8], rsi ; +0x5, 0x180079705 push rdi ; +0xa, 0x18007970a sub rsp, 40h ; +0xb, 0x18007970b movaps [rsp+48h+var_18], xmm6 ; +0xf, 0x18007970f movaps xmm6, xmm2 ; +0x14, 0x180079714 mov rdi, rdx ; +0x17, 0x180079717 mov rsi, rcx ; +0x1a, 0x18007971a mov ecx, 0F0h; Size ; +0x1d, 0x18007971d call sub_1800E4AC0 ; +0x22, 0x180079722 mov [rsp+48h+arg_18], rax ; +0x27, 0x180079727 test rax, rax ; +0x2c, 0x18007972c jz short loc_18007973E ; +0x2f, 0x18007972f mov rcx, rax; this ; +0x31, 0x180079731 call ??0CCEGLView@cocos2d@@IEAA@XZ; cocos2d::CCEGLView::CCEGLView(void) ; +0x34, 0x180079734 mov rbx, rax ; +0x39, 0x180079739 jmp short loc_180079740 ; +0x3c, 0x18007973c xor ebx, ebx ; +0x3e, 0x18007973e test rbx, rbx ; +0x40, 0x180079740 jz short loc_180079775 ; +0x43, 0x180079743 mov rdx, rdi; struct cocos2d::CCRect * ; +0x45, 0x180079745 lea rcx, [rsp+48h+var_28]; this ; +0x48, 0x180079748 call ??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0x4d, 0x18007974d mov r8, rax ; +0x52, 0x180079752 movaps xmm3, xmm6 ; +0x55, 0x180079755 mov rdx, rsi ; +0x58, 0x180079758 mov rcx, rbx; this ; +0x5b, 0x18007975b call ?initWithRect@CCEGLView@cocos2d@@IEAA_NAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@VCCRect@2@M@Z; cocos2d::CCEGLView::initWithRect(std::string const &,cocos2d::CCRect,float) ; +0x5e, 0x18007975e test al, al ; +0x63, 0x180079763 jz short loc_180079775 ; +0x65, 0x180079765 lea rcx, [rbx+78h]; this ; +0x67, 0x180079767 call ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x6b, 0x18007976b mov rax, rbx ; +0x70, 0x180079770 jmp short loc_180079777 ; +0x73, 0x180079773 xor eax, eax ; +0x75, 0x180079775 mov rbx, [rsp+48h+arg_0] ; +0x77, 0x180079777 mov rsi, [rsp+48h+arg_8] ; +0x7c, 0x18007977c movaps xmm6, [rsp+48h+var_18] ; +0x81, 0x180079781 add rsp, 40h ; +0x86, 0x180079786 pop rdi ; +0x8a, 0x18007978a retn ; +0x8b, 0x18007978b