; ; cocos2d::CCEGLView::create from 0x180079490 to 0x180079529 (153 bytes) ; ; 3 xrefs: ; > cocos2d::CCApplication::setupGLView @ 0x18007696a ; > @ 0x18014cf68 ; > @ 0x1801beba8 ; ; 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, 0x180079490 push rdi ; +0x5, 0x180079495 sub rsp, 40h ; +0x6, 0x180079496 mov rdi, rcx ; +0xa, 0x18007949a mov ecx, 0F0h; Size ; +0xd, 0x18007949d call sub_1800E4AC0 ; +0x12, 0x1800794a2 mov [rsp+48h+arg_8], rax ; +0x17, 0x1800794a7 test rax, rax ; +0x1c, 0x1800794ac jz short loc_1800794BE ; +0x1f, 0x1800794af mov rcx, rax; this ; +0x21, 0x1800794b1 call ??0CCEGLView@cocos2d@@IEAA@XZ; cocos2d::CCEGLView::CCEGLView(void) ; +0x24, 0x1800794b4 mov rbx, rax ; +0x29, 0x1800794b9 jmp short loc_1800794C0 ; +0x2c, 0x1800794bc xor ebx, ebx ; +0x2e, 0x1800794be test rbx, rbx ; +0x30, 0x1800794c0 jz short loc_18007951C ; +0x33, 0x1800794c3 movss xmm0, cs:flt_180107728 ; +0x35, 0x1800794c5 movss [rsp+48h+var_28], xmm0; float ; +0x3d, 0x1800794cd movss xmm3, cs:flt_18010772C; float ; +0x43, 0x1800794d3 xorps xmm2, xmm2; float ; +0x4b, 0x1800794db xorps xmm1, xmm1; float ; +0x4e, 0x1800794de lea rcx, [rsp+48h+var_18]; this ; +0x51, 0x1800794e1 call ??0CCRect@cocos2d@@QEAA@MMMM@Z; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x56, 0x1800794e6 mov r8, rax ; +0x5b, 0x1800794eb movss xmm3, cs:flt_1800EC208 ; +0x5e, 0x1800794ee mov rdx, rdi ; +0x66, 0x1800794f6 mov rcx, rbx; this ; +0x69, 0x1800794f9 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) ; +0x6c, 0x1800794fc test al, al ; +0x71, 0x180079501 jz short loc_18007951C ; +0x73, 0x180079503 lea rcx, [rbx+78h]; this ; +0x75, 0x180079505 call ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x79, 0x180079509 mov rax, rbx ; +0x7e, 0x18007950e mov rbx, [rsp+48h+arg_0] ; +0x81, 0x180079511 add rsp, 40h ; +0x86, 0x180079516 pop rdi ; +0x8a, 0x18007951a retn ; +0x8b, 0x18007951b xor eax, eax ; +0x8c, 0x18007951c mov rbx, [rsp+48h+arg_0] ; +0x8e, 0x18007951e add rsp, 40h ; +0x93, 0x180079523 pop rdi ; +0x97, 0x180079527 retn ; +0x98, 0x180079528