// // cocos2d::CCEGLView::CCEGLView from 0x180078210 to 0x18007832e (286 bytes) // // 6 xrefs: // > cocos2d::CCEGLView::create @ 0x1800794b4 // > cocos2d::CCEGLView::createWithFullScreen @ 0x180079565 // > cocos2d::CCEGLView::createWithFullScreen @ 0x1800795fe // > cocos2d::CCEGLView::createWithRect @ 0x180079734 // > @ 0x18014cf68 // > @ 0x1801be9d4 // // 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 // // Hidden C++ exception states: #wind=2 cocos2d::CCEGLView *__fastcall cocos2d::CCEGLView::CCEGLView(cocos2d::CCEGLView *this) { unsigned __int8 *v2; // rbx _BYTE v4[40]; // [rsp+20h] [rbp-28h] BYREF char v5; // [rsp+58h] [rbp+10h] BYREF char v6; // [rsp+60h] [rbp+18h] BYREF char v7; // [rsp+68h] [rbp+20h] BYREF cocos2d::CCEGLViewProtocol::CCEGLViewProtocol(this); cocos2d::CCObject::CCObject((cocos2d::CCEGLView *)((char *)this + 120)); *(_QWORD *)this = &cocos2d::CCEGLView::`vftable'{for `cocos2d::CCEGLViewProtocol'}; *((_QWORD *)this + 15) = &cocos2d::CCEGLView::`vftable'{for `cocos2d::CCObject'}; *((_DWORD *)this + 44) = 0; *((_DWORD *)this + 45) = 1; *((_BYTE *)this + 184) = 0; *((_DWORD *)this + 47) = 0; *((_DWORD *)this + 48) = 1065353216; *((_QWORD *)this + 25) = 0; *((_QWORD *)this + 26) = 0; cocos2d::CCSize::CCSize((cocos2d::CCEGLView *)((char *)this + 216)); *((_QWORD *)this + 28) = 0; *((_DWORD *)this + 58) = 0; *((_WORD *)this + 118) = 0; strcpy((char *)this + 48, "cocos2dx"); sub_1800790C0(&dword_1801B2670); v2 = (unsigned __int8 *)&unk_1801ACBA0; do { *(_DWORD *)(*(_QWORD *)sub_180077CF0(&dword_1801B2670, (__int64)v4, v2) + 20LL) = *((_DWORD *)v2 + 1); v2 += 8; } while ( v2 != (unsigned __int8 *)&off_1801ACF70 ); qword_1801B2540 = this; sub_1800DB6C0(sub_18007A4E0); sub_1800DB600(); sub_1800DB5D0(&v7, &v6, &v5); return this; }