// // cocos2d::CCEGLView::updateWindow from 0x180079210 to 0x1800792ae (158 bytes) // // 6 xrefs: // > cocos2d::CCEGLView::onGLFWWindowSizeFunCallback @ 0x180077c87 // > sub_180077C90 @ 0x180077ca9 // > cocos2d::CCEGLView::resizeWindow @ 0x18007883c // > cocos2d::CCEGLView::toggleFullScreen @ 0x180078fb0 // > @ 0x1801438a8 // > @ 0x1801b4b60 // // 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 // void __fastcall cocos2d::CCEGLView::updateWindow(cocos2d::CCEGLView *this, int a2, int a3) { float *v4; // rbx cocos2d::CCDirector *v5; // rax cocos2d::CCDirector *v6; // rax cocos2d::CCDirector *v7; // rax float v8; // [rsp+30h] [rbp+8h] BYREF int v9; // [rsp+38h] [rbp+10h] BYREF int v10; // [rsp+40h] [rbp+18h] BYREF v10 = a3; v9 = a2; sub_1800D4AD0(*((_QWORD *)this + 25)); sub_1800D4A20(*((_QWORD *)this + 25), &v9, &v10); cocos2d::CCEGLViewProtocol::setFrameSize(this, (float)v9, (float)v10); v4 = kmVec2Fill(&v8, (float)v9, (float)v10); v5 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::updateScreenScale(v5, (struct cocos2d::CCSize)v4); v6 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::setViewport(v6); v7 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::setProjection(v7, kCCDirectorProjection2D); }
GD Web Decomp Icon

GD Web Decomp

Raw Source