// // cocos2d::CCEGLView::createWithFullScreen from 0x180076900 to 0x180076a3b (315 bytes) // // 2 xrefs: // > @ 0x1801438a8 // > @ 0x1801b48b4 // // 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=1 cocos2d::CCEGLView *__fastcall cocos2d::CCEGLView::createWithFullScreen( __int64 a1, char a2, char a3, __int64 a4, __int64 a5) { cocos2d::CCEGLView *v8; // rax cocos2d::CCEGLView *v9; // rbx cocos2d::CCRect v11; // [rsp+30h] [rbp-18h] BYREF v8 = (cocos2d::CCEGLView *)operator new(0xF0u); v11.origin = (cocos2d::CCPoint)v8; if ( v8 ) v9 = cocos2d::CCEGLView::CCEGLView(v8); else v9 = nullptr; if ( !v9 ) return nullptr; *(_QWORD *)&v9[1].m_szViewName[32] = a5; if ( !a5 ) return nullptr; LOBYTE(v9[1].m_fScaleY) = 1; BYTE1(v9[1].m_fScaleY) = a2; BYTE2(v9[1].m_fScaleY) = a3; sub_1800D4D00(135183, *(unsigned int *)(a4 + 20)); sub_1800D4D00(135169, *(unsigned int *)(a4 + 8)); sub_1800D4D00(135171, *(unsigned int *)(a4 + 16)); sub_1800D4D00(135170, *(unsigned int *)(a4 + 12)); if ( BYTE1(v9[1].m_fScaleY) ) { sub_1800D4D00(131077, 0); *(_QWORD *)&v9[1].m_szViewName[32] = 0; } cocos2d::CCRect::CCRect(&v11, 0.0, 0.0, (float)*(int *)a4, (float)*(int *)(a4 + 4)); if ( !(unsigned __int8)cocos2d::CCEGLView::initWithRect(v9) ) return nullptr; cocos2d::CCObject::autorelease((cocos2d::CCObject *)&v9->m_idk1); return v9; }