; ; cocos2d::CCEGLView::updateWindow from 0x18007c220 to 0x18007c2be (158 bytes) ; ; 6 xrefs: ; > cocos2d::CCEGLView::onGLFWWindowSizeFunCallback @ 0x18007a897 ; > sub_18007A8A0 @ 0x18007a8b9 ; > cocos2d::CCEGLView::resizeWindow @ 0x18007b61c ; > cocos2d::CCEGLView::toggleFullScreen @ 0x18007bfb8 ; > @ 0x18014cf68 ; > @ 0x1801bee6c ; ; 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:22:00 +0000 ; mov [rsp+arg_10], r8d ; +0x0, 0x18007c220 mov [rsp+arg_8], edx ; +0x5, 0x18007c225 push rbx ; +0x9, 0x18007c229 sub rsp, 20h ; +0xa, 0x18007c22a mov rbx, rcx ; +0xe, 0x18007c22e mov rcx, [rcx+0C8h] ; +0x11, 0x18007c231 call sub_1800DC800 ; +0x18, 0x18007c238 mov rcx, [rbx+0C8h] ; +0x1d, 0x18007c23d lea r8, [rsp+28h+arg_10] ; +0x24, 0x18007c244 lea rdx, [rsp+28h+arg_8] ; +0x29, 0x18007c249 call sub_1800DC750 ; +0x2e, 0x18007c24e movd xmm2, [rsp+28h+arg_10] ; +0x33, 0x18007c253 mov rcx, rbx; this ; +0x39, 0x18007c259 movd xmm1, [rsp+28h+arg_8] ; +0x3c, 0x18007c25c cvtdq2ps xmm2, xmm2; float ; +0x42, 0x18007c262 cvtdq2ps xmm1, xmm1; float ; +0x45, 0x18007c265 call ?setFrameSize@CCEGLViewProtocol@cocos2d@@UEAAXMM@Z; cocos2d::CCEGLViewProtocol::setFrameSize(float,float) ; +0x48, 0x18007c268 movd xmm2, [rsp+28h+arg_10] ; +0x4d, 0x18007c26d lea rcx, [rsp+28h+arg_0] ; +0x53, 0x18007c273 movd xmm1, [rsp+28h+arg_8] ; +0x58, 0x18007c278 cvtdq2ps xmm2, xmm2 ; +0x5e, 0x18007c27e cvtdq2ps xmm1, xmm1 ; +0x61, 0x18007c281 call kmVec2Fill ; +0x64, 0x18007c284 mov rbx, rax ; +0x69, 0x18007c289 call ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x6c, 0x18007c28c mov rcx, rax ; +0x71, 0x18007c291 mov rdx, rbx ; +0x74, 0x18007c294 call ?updateScreenScale@CCDirector@cocos2d@@QEAAXVCCSize@2@@Z; cocos2d::CCDirector::updateScreenScale(cocos2d::CCSize) ; +0x77, 0x18007c297 call ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x7c, 0x18007c29c mov rcx, rax; this ; +0x81, 0x18007c2a1 call ?setViewport@CCDirector@cocos2d@@QEAAXXZ; cocos2d::CCDirector::setViewport(void) ; +0x84, 0x18007c2a4 call ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x89, 0x18007c2a9 mov rcx, rax ; +0x8e, 0x18007c2ae xor edx, edx ; +0x91, 0x18007c2b1 call ?setProjection@CCDirector@cocos2d@@QEAAXW4ccDirectorProjection@2@@Z; cocos2d::CCDirector::setProjection(cocos2d::ccDirectorProjection) ; +0x93, 0x18007c2b3 add rsp, 20h ; +0x98, 0x18007c2b8 pop rbx ; +0x9c, 0x18007c2bc retn ; +0x9d, 0x18007c2bd