// // cocos2d::CCEGLView::CCEGLView from 0x1800c4e40 to 0x1800c5013 (467 bytes) // // 2 xrefs: // > @ 0x1801438a8 // > @ 0x1801b9750 // // 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 // // Hidden C++ exception states: #wind=2 cocos2d::CCEGLView *__fastcall cocos2d::CCEGLView::CCEGLView( cocos2d::CCEGLView *this, const struct cocos2d::CCEGLView *a2) { cocos2d::CCEGLViewProtocol::CCEGLViewProtocol(this, a2); *(_QWORD *)&this->m_idk1 = &cocos2d::CCObject::`vftable'; *((_DWORD *)this + 32) = a2[1].__vftable; *((_DWORD *)this + 33) = HIDWORD(a2[1].__vftable); *((_QWORD *)this + 17) = a2[1].m_pDelegate; *((cocos2d::CCSize *)this + 18) = a2[1].m_obScreenSize; *((cocos2d::CCSize *)this + 19) = a2[1].m_obDesignResolutionSize; *((cocos2d::CCRect *)this + 10) = a2[1].m_obViewPortRect; this->__vftable = (cocos2d::CCEGLView_vtbl *)&cocos2d::CCEGLView::`vftable'{for `cocos2d::CCEGLViewProtocol'}; *(_QWORD *)&this->m_idk1 = &cocos2d::CCEGLView::`vftable'{for `cocos2d::CCObject'}; *((_BYTE *)this + 176) = a2[1].m_szViewName[0]; *((_BYTE *)this + 177) = a2[1].m_szViewName[1]; *((_BYTE *)this + 178) = a2[1].m_szViewName[2]; *((_BYTE *)this + 179) = a2[1].m_szViewName[3]; *((_DWORD *)this + 45) = *(_DWORD *)&a2[1].m_szViewName[4]; *((_BYTE *)this + 184) = a2[1].m_szViewName[8]; *((_DWORD *)this + 47) = *(_DWORD *)&a2[1].m_szViewName[12]; *((_DWORD *)this + 48) = *(_DWORD *)&a2[1].m_szViewName[16]; *((_QWORD *)this + 25) = *(_QWORD *)&a2[1].m_szViewName[24]; *((_QWORD *)this + 26) = *(_QWORD *)&a2[1].m_szViewName[32]; cocos2d::cc_timeval::operator=((_DWORD *)this + 54, &a2[1].m_szViewName[40]); *((_DWORD *)this + 56) = *(_DWORD *)&a2[1].m_szViewName[48]; *((_DWORD *)this + 57) = LODWORD(a2[1].m_fScaleX); *((float *)this + 58) = a2[1].m_fScaleY; *((_BYTE *)this + 236) = a2[1].m_eResolutionPolicy; *((_BYTE *)this + 237) = BYTE1(a2[1].m_eResolutionPolicy); return this; }