{"type": "func", "start": 6443257408, "end": 6443257875, "name": "cocos2d::CCEGLView::CCEGLView", "pseudocode": "// \n// cocos2d::CCEGLView::CCEGLView from 0x1800c4e40 to 0x1800c5013 (467 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b9750\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\n// Hidden C++ exception states: #wind=2\ncocos2d::CCEGLView *__fastcall cocos2d::CCEGLView::CCEGLView(\n        cocos2d::CCEGLView *this,\n        const struct cocos2d::CCEGLView *a2)\n{\n  cocos2d::CCEGLViewProtocol::CCEGLViewProtocol(this, a2);\n  *(_QWORD *)&this->m_idk1 = &cocos2d::CCObject::`vftable';\n  *((_DWORD *)this + 32) = a2[1].__vftable;\n  *((_DWORD *)this + 33) = HIDWORD(a2[1].__vftable);\n  *((_QWORD *)this + 17) = a2[1].m_pDelegate;\n  *((cocos2d::CCSize *)this + 18) = a2[1].m_obScreenSize;\n  *((cocos2d::CCSize *)this + 19) = a2[1].m_obDesignResolutionSize;\n  *((cocos2d::CCRect *)this + 10) = a2[1].m_obViewPortRect;\n  this->__vftable = (cocos2d::CCEGLView_vtbl *)&cocos2d::CCEGLView::`vftable'{for `cocos2d::CCEGLViewProtocol'};\n  *(_QWORD *)&this->m_idk1 = &cocos2d::CCEGLView::`vftable'{for `cocos2d::CCObject'};\n  *((_BYTE *)this + 176) = a2[1].m_szViewName[0];\n  *((_BYTE *)this + 177) = a2[1].m_szViewName[1];\n  *((_BYTE *)this + 178) = a2[1].m_szViewName[2];\n  *((_BYTE *)this + 179) = a2[1].m_szViewName[3];\n  *((_DWORD *)this + 45) = *(_DWORD *)&a2[1].m_szViewName[4];\n  *((_BYTE *)this + 184) = a2[1].m_szViewName[8];\n  *((_DWORD *)this + 47) = *(_DWORD *)&a2[1].m_szViewName[12];\n  *((_DWORD *)this + 48) = *(_DWORD *)&a2[1].m_szViewName[16];\n  *((_QWORD *)this + 25) = *(_QWORD *)&a2[1].m_szViewName[24];\n  *((_QWORD *)this + 26) = *(_QWORD *)&a2[1].m_szViewName[32];\n  cocos2d::cc_timeval::operator=((_DWORD *)this + 54, &a2[1].m_szViewName[40]);\n  *((_DWORD *)this + 56) = *(_DWORD *)&a2[1].m_szViewName[48];\n  *((_DWORD *)this + 57) = LODWORD(a2[1].m_fScaleX);\n  *((float *)this + 58) = a2[1].m_fScaleY;\n  *((_BYTE *)this + 236) = a2[1].m_eResolutionPolicy;\n  *((_BYTE *)this + 237) = BYTE1(a2[1].m_eResolutionPolicy);\n  return this;\n}", "assembly": "; \n; cocos2d::CCEGLView::CCEGLView from 0x1800c4e40 to 0x1800c5013 (467 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b9750\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_8], rbx                                               ; +0x0, 0x1800c4e40\nmov     [rsp+arg_0], rcx                                               ; +0x5, 0x1800c4e45\npush    rdi                                                            ; +0xa, 0x1800c4e4a\nsub     rsp, 20h                                                       ; +0xb, 0x1800c4e4b\nmov     rbx, rdx                                                       ; +0xf, 0x1800c4e4f\nmov     rdi, rcx                                                       ; +0x12, 0x1800c4e52\ncall    ??0CCEGLViewProtocol@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCEGLViewProtocol::CCEGLViewProtocol(cocos2d::CCEGLViewProtocol const &) ; +0x15, 0x1800c4e55\nnop                                                                    ; +0x1a, 0x1800c4e5a\nlea     rax, ??_7CCObject@cocos2d@@6B@; const cocos2d::CCObject::`vftable' ; +0x1b, 0x1800c4e5b\nmov     [rdi+78h], rax                                                 ; +0x22, 0x1800c4e62\nmov     eax, [rbx+80h]                                                 ; +0x26, 0x1800c4e66\nmov     [rdi+80h], eax                                                 ; +0x2c, 0x1800c4e6c\nmov     eax, [rbx+84h]                                                 ; +0x32, 0x1800c4e72\nmov     [rdi+84h], eax                                                 ; +0x38, 0x1800c4e78\nmov     eax, [rbx+88h]                                                 ; +0x3e, 0x1800c4e7e\nmov     [rdi+88h], eax                                                 ; +0x44, 0x1800c4e84\nmov     eax, [rbx+8Ch]                                                 ; +0x4a, 0x1800c4e8a\nmov     [rdi+8Ch], eax                                                 ; +0x50, 0x1800c4e90\nmov     eax, [rbx+90h]                                                 ; +0x56, 0x1800c4e96\nmov     [rdi+90h], eax                                                 ; +0x5c, 0x1800c4e9c\nmov     eax, [rbx+94h]                                                 ; +0x62, 0x1800c4ea2\nmov     [rdi+94h], eax                                                 ; +0x68, 0x1800c4ea8\nmov     eax, [rbx+98h]                                                 ; +0x6e, 0x1800c4eae\nmov     [rdi+98h], eax                                                 ; +0x74, 0x1800c4eb4\nmov     eax, [rbx+9Ch]                                                 ; +0x7a, 0x1800c4eba\nmov     [rdi+9Ch], eax                                                 ; +0x80, 0x1800c4ec0\nmov     eax, [rbx+0A0h]                                                ; +0x86, 0x1800c4ec6\nmov     [rdi+0A0h], eax                                                ; +0x8c, 0x1800c4ecc\nmov     eax, [rbx+0A4h]                                                ; +0x92, 0x1800c4ed2\nmov     [rdi+0A4h], eax                                                ; +0x98, 0x1800c4ed8\nmov     eax, [rbx+0A8h]                                                ; +0x9e, 0x1800c4ede\nmov     [rdi+0A8h], eax                                                ; +0xa4, 0x1800c4ee4\nmov     eax, [rbx+0ACh]                                                ; +0xaa, 0x1800c4eea\nmov     [rdi+0ACh], eax                                                ; +0xb0, 0x1800c4ef0\nlea     rax, ??_7CCEGLView@cocos2d@@6BCCEGLViewProtocol@1@@; const cocos2d::CCEGLView::`vftable'{for `cocos2d::CCEGLViewProtocol'} ; +0xb6, 0x1800c4ef6\nmov     [rdi], rax                                                     ; +0xbd, 0x1800c4efd\nlea     rax, ??_7CCEGLView@cocos2d@@6BCCObject@1@@; const cocos2d::CCEGLView::`vftable'{for `cocos2d::CCObject'} ; +0xc0, 0x1800c4f00\nmov     [rdi+78h], rax                                                 ; +0xc7, 0x1800c4f07\nmovzx   eax, byte ptr [rbx+0B0h]                                       ; +0xcb, 0x1800c4f0b\nmov     [rdi+0B0h], al                                                 ; +0xd2, 0x1800c4f12\nmovzx   eax, byte ptr [rbx+0B1h]                                       ; +0xd8, 0x1800c4f18\nmov     [rdi+0B1h], al                                                 ; +0xdf, 0x1800c4f1f\nmovzx   eax, byte ptr [rbx+0B2h]                                       ; +0xe5, 0x1800c4f25\nmov     [rdi+0B2h], al                                                 ; +0xec, 0x1800c4f2c\nmovzx   eax, byte ptr [rbx+0B3h]                                       ; +0xf2, 0x1800c4f32\nmov     [rdi+0B3h], al                                                 ; +0xf9, 0x1800c4f39\nmov     eax, [rbx+0B4h]                                                ; +0xff, 0x1800c4f3f\nmov     [rdi+0B4h], eax                                                ; +0x105, 0x1800c4f45\nmovzx   eax, byte ptr [rbx+0B8h]                                       ; +0x10b, 0x1800c4f4b\nmov     [rdi+0B8h], al                                                 ; +0x112, 0x1800c4f52\nmov     eax, [rbx+0BCh]                                                ; +0x118, 0x1800c4f58\nmov     [rdi+0BCh], eax                                                ; +0x11e, 0x1800c4f5e\nmov     eax, [rbx+0C0h]                                                ; +0x124, 0x1800c4f64\nmov     [rdi+0C0h], eax                                                ; +0x12a, 0x1800c4f6a\nmov     rax, [rbx+0C8h]                                                ; +0x130, 0x1800c4f70\nmov     [rdi+0C8h], rax                                                ; +0x137, 0x1800c4f77\nmov     rax, [rbx+0D0h]                                                ; +0x13e, 0x1800c4f7e\nmov     [rdi+0D0h], rax                                                ; +0x145, 0x1800c4f85\nlea     rdx, [rbx+0D8h]                                                ; +0x14c, 0x1800c4f8c\nlea     rcx, [rdi+0D8h]                                                ; +0x153, 0x1800c4f93\ncall    ??4cc_timeval@cocos2d@@QEAAAEAU01@$$QEAU01@@Z; cocos2d::cc_timeval::operator=(cocos2d::cc_timeval &&) ; +0x15a, 0x1800c4f9a\nmov     eax, [rbx+0E0h]                                                ; +0x15f, 0x1800c4f9f\nmov     [rdi+0E0h], eax                                                ; +0x165, 0x1800c4fa5\nmov     eax, [rbx+0E4h]                                                ; +0x16b, 0x1800c4fab\nmov     [rdi+0E4h], eax                                                ; +0x171, 0x1800c4fb1\nmovzx   eax, byte ptr [rbx+0E8h]                                       ; +0x177, 0x1800c4fb7\nmov     [rdi+0E8h], al                                                 ; +0x17e, 0x1800c4fbe\nmovzx   eax, byte ptr [rbx+0E9h]                                       ; +0x184, 0x1800c4fc4\nmov     [rdi+0E9h], al                                                 ; +0x18b, 0x1800c4fcb\nmovzx   eax, byte ptr [rbx+0EAh]                                       ; +0x191, 0x1800c4fd1\nmov     [rdi+0EAh], al                                                 ; +0x198, 0x1800c4fd8\nmovzx   eax, byte ptr [rbx+0EBh]                                       ; +0x19e, 0x1800c4fde\nmov     [rdi+0EBh], al                                                 ; +0x1a5, 0x1800c4fe5\nmovzx   eax, byte ptr [rbx+0ECh]                                       ; +0x1ab, 0x1800c4feb\nmov     [rdi+0ECh], al                                                 ; +0x1b2, 0x1800c4ff2\nmovzx   eax, byte ptr [rbx+0EDh]                                       ; +0x1b8, 0x1800c4ff8\nmov     [rdi+0EDh], al                                                 ; +0x1bf, 0x1800c4fff\nmov     rax, rdi                                                       ; +0x1c5, 0x1800c5005\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x1c8, 0x1800c5008\nadd     rsp, 20h                                                       ; +0x1cd, 0x1800c500d\npop     rdi                                                            ; +0x1d1, 0x1800c5011\nretn                                                                   ; +0x1d2, 0x1800c5012", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b9750"], "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"}