; ; cocos2d::CCEGLView::createWithRect from 0x180076a40 to 0x180076acc (140 bytes) ; ; 2 xrefs: ; > @ 0x1801438a8 ; > @ 0x1801b48c0 ; ; 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, 0x180076a40 mov [rsp+arg_8], rsi ; +0x5, 0x180076a45 push rdi ; +0xa, 0x180076a4a sub rsp, 40h ; +0xb, 0x180076a4b movaps [rsp+48h+var_18], xmm6 ; +0xf, 0x180076a4f movaps xmm6, xmm2 ; +0x14, 0x180076a54 mov rdi, rdx ; +0x17, 0x180076a57 mov rsi, rcx ; +0x1a, 0x180076a5a mov ecx, 0F0h; Size ; +0x1d, 0x180076a5d call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x22, 0x180076a62 mov [rsp+48h+arg_18], rax ; +0x27, 0x180076a67 test rax, rax ; +0x2c, 0x180076a6c jz short loc_180076A7E ; +0x2f, 0x180076a6f mov rcx, rax; this ; +0x31, 0x180076a71 call ??0CCEGLView@cocos2d@@IEAA@XZ; cocos2d::CCEGLView::CCEGLView(void) ; +0x34, 0x180076a74 mov rbx, rax ; +0x39, 0x180076a79 jmp short loc_180076A80 ; +0x3c, 0x180076a7c xor ebx, ebx ; +0x3e, 0x180076a7e test rbx, rbx ; +0x40, 0x180076a80 jz short loc_180076AB5 ; +0x43, 0x180076a83 mov rdx, rdi; struct cocos2d::CCRect * ; +0x45, 0x180076a85 lea rcx, [rsp+48h+var_28]; this ; +0x48, 0x180076a88 call ??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0x4d, 0x180076a8d mov r8, rax ; +0x52, 0x180076a92 movaps xmm3, xmm6 ; +0x55, 0x180076a95 mov rdx, rsi ; +0x58, 0x180076a98 mov rcx, rbx; this ; +0x5b, 0x180076a9b 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, 0x180076a9e test al, al ; +0x63, 0x180076aa3 jz short loc_180076AB5 ; +0x65, 0x180076aa5 lea rcx, [rbx+78h]; this ; +0x67, 0x180076aa7 call ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x6b, 0x180076aab mov rax, rbx ; +0x70, 0x180076ab0 jmp short loc_180076AB7 ; +0x73, 0x180076ab3 xor eax, eax ; +0x75, 0x180076ab5 mov rbx, [rsp+48h+arg_0] ; +0x77, 0x180076ab7 mov rsi, [rsp+48h+arg_8] ; +0x7c, 0x180076abc movaps xmm6, [rsp+48h+var_18] ; +0x81, 0x180076ac1 add rsp, 40h ; +0x86, 0x180076ac6 pop rdi ; +0x8a, 0x180076aca retn ; +0x8b, 0x180076acb