{"type": "func", "start": 6443257888, "end": 6443258031, "name": "cocos2d::CCEGLViewProtocol::CCEGLViewProtocol", "pseudocode": "// \n// cocos2d::CCEGLViewProtocol::CCEGLViewProtocol from 0x1800c5020 to 0x1800c50af (143 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCEGLView::CCEGLView @ 0x1800c4e55\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b975c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\ncocos2d::CCEGLViewProtocol *__fastcall cocos2d::CCEGLViewProtocol::CCEGLViewProtocol(\n        cocos2d::CCEGLViewProtocol *this,\n        const struct cocos2d::CCEGLViewProtocol *a2)\n{\n  this->__vftable = (cocos2d::CCEGLViewProtocol_vtbl *)&cocos2d::CCEGLViewProtocol::`vftable';\n  this->m_pDelegate = a2->m_pDelegate;\n  cocos2d::cc_timeval::operator=(&this->m_obScreenSize, &a2->m_obScreenSize);\n  cocos2d::cc_timeval::operator=(&this->m_obDesignResolutionSize, &a2->m_obDesignResolutionSize);\n  cocos2d::CCRect::CCRect(&this->m_obViewPortRect, &a2->m_obViewPortRect);\n  *(_OWORD *)this->m_szViewName = *(_OWORD *)a2->m_szViewName;\n  *(_OWORD *)&this->m_szViewName[16] = *(_OWORD *)&a2->m_szViewName[16];\n  *(_OWORD *)&this->m_szViewName[32] = *(_OWORD *)&a2->m_szViewName[32];\n  *(_WORD *)&this->m_szViewName[48] = *(_WORD *)&a2->m_szViewName[48];\n  this->m_fScaleX = a2->m_fScaleX;\n  this->m_fScaleY = a2->m_fScaleY;\n  this->m_eResolutionPolicy = a2->m_eResolutionPolicy;\n  this->m_unkFloat = a2->m_unkFloat;\n  return this;\n}", "assembly": "; \n; cocos2d::CCEGLViewProtocol::CCEGLViewProtocol from 0x1800c5020 to 0x1800c50af (143 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCEGLView::CCEGLView @ 0x1800c4e55\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b975c\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800c5020\npush    rdi                                                            ; +0x5, 0x1800c5025\nsub     rsp, 20h                                                       ; +0x6, 0x1800c5026\nlea     rax, ??_7CCEGLViewProtocol@cocos2d@@6B@; const cocos2d::CCEGLViewProtocol::`vftable' ; +0xa, 0x1800c502a\nmov     rbx, rdx                                                       ; +0x11, 0x1800c5031\nmov     [rcx], rax                                                     ; +0x14, 0x1800c5034\nmov     rdi, rcx                                                       ; +0x17, 0x1800c5037\nmov     rax, [rdx+8]                                                   ; +0x1a, 0x1800c503a\nadd     rdx, 10h                                                       ; +0x1e, 0x1800c503e\nmov     [rcx+8], rax                                                   ; +0x22, 0x1800c5042\nadd     rcx, 10h                                                       ; +0x26, 0x1800c5046\ncall    ??4cc_timeval@cocos2d@@QEAAAEAU01@$$QEAU01@@Z; cocos2d::cc_timeval::operator=(cocos2d::cc_timeval &&) ; +0x2a, 0x1800c504a\nlea     rdx, [rbx+18h]                                                 ; +0x2f, 0x1800c504f\nlea     rcx, [rdi+18h]                                                 ; +0x33, 0x1800c5053\ncall    ??4cc_timeval@cocos2d@@QEAAAEAU01@$$QEAU01@@Z; cocos2d::cc_timeval::operator=(cocos2d::cc_timeval &&) ; +0x37, 0x1800c5057\nlea     rdx, [rbx+20h]; struct cocos2d::CCRect *                       ; +0x3c, 0x1800c505c\nlea     rcx, [rdi+20h]; this                                           ; +0x40, 0x1800c5060\ncall    ??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0x44, 0x1800c5064\nmovups  xmm0, xmmword ptr [rbx+30h]                                    ; +0x49, 0x1800c5069\nmovups  xmmword ptr [rdi+30h], xmm0                                    ; +0x4d, 0x1800c506d\nmovups  xmm1, xmmword ptr [rbx+40h]                                    ; +0x51, 0x1800c5071\nmovups  xmmword ptr [rdi+40h], xmm1                                    ; +0x55, 0x1800c5075\nmovups  xmm0, xmmword ptr [rbx+50h]                                    ; +0x59, 0x1800c5079\nmovups  xmmword ptr [rdi+50h], xmm0                                    ; +0x5d, 0x1800c507d\nmovzx   eax, word ptr [rbx+60h]                                        ; +0x61, 0x1800c5081\nmov     [rdi+60h], ax                                                  ; +0x65, 0x1800c5085\nmov     eax, [rbx+64h]                                                 ; +0x69, 0x1800c5089\nmov     [rdi+64h], eax                                                 ; +0x6c, 0x1800c508c\nmov     eax, [rbx+68h]                                                 ; +0x6f, 0x1800c508f\nmov     [rdi+68h], eax                                                 ; +0x72, 0x1800c5092\nmov     eax, [rbx+6Ch]                                                 ; +0x75, 0x1800c5095\nmov     [rdi+6Ch], eax                                                 ; +0x78, 0x1800c5098\nmov     eax, [rbx+70h]                                                 ; +0x7b, 0x1800c509b\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x7e, 0x1800c509e\nmov     [rdi+70h], eax                                                 ; +0x83, 0x1800c50a3\nmov     rax, rdi                                                       ; +0x86, 0x1800c50a6\nadd     rsp, 20h                                                       ; +0x89, 0x1800c50a9\npop     rdi                                                            ; +0x8d, 0x1800c50ad\nretn                                                                   ; +0x8e, 0x1800c50ae", "xrefs": ["cocos2d::CCEGLView::CCEGLView @ 0x1800c4e55", "<???> @ 0x1801438a8", "<???> @ 0x1801b975c"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}