; ; cocos2d::CCDirector::setViewport from 0x1800c3450 to 0x1800c349f (79 bytes) ; ; 11 xrefs: ; > cocos2d::CCRenderTexture::clear @ 0x180061a8a ; > cocos2d::CCRenderTexture::clearDepth @ 0x180061b34 ; > cocos2d::CCRenderTexture::draw @ 0x180061f40 ; > cocos2d::CCRenderTexture::end @ 0x180061fb0 ; > cocos2d::CCRenderTexture::newCCImage @ 0x1800625f0 ; > cocos2d::CCEGLView::onGLFWWindowPosCallback @ 0x18007a81c ; > sub_18007A840 @ 0x18007a856 ; > cocos2d::CCEGLView::updateWindow @ 0x18007c2a4 ; > @ 0x18014cf68 ; > @ 0x1801c3678 ; > @ 0x1801c3684 ; ; 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:26 +0000 ; push rbx ; +0x0, 0x1800c3450 sub rsp, 30h ; +0x2, 0x1800c3452 cmp qword ptr [rcx+0C0h], 0 ; +0x6, 0x1800c3456 mov rbx, rcx ; +0xe, 0x1800c345e jz short loc_1800C3499 ; +0x11, 0x1800c3461 lea rdx, [rcx+140h] ; +0x13, 0x1800c3463 lea rcx, [rsp+38h+arg_0] ; +0x1a, 0x1800c346a call ??4cc_timeval@cocos2d@@QEAAAEAU01@$$QEAU01@@Z; cocos2d::cc_timeval::operator=(cocos2d::cc_timeval &&) ; +0x1f, 0x1800c346f mov rcx, [rbx+0C0h] ; +0x24, 0x1800c3474 xorps xmm2, xmm2 ; +0x2b, 0x1800c347b movss xmm0, [rsp+38h+arg_4] ; +0x2e, 0x1800c347e xorps xmm1, xmm1 ; +0x34, 0x1800c3484 movss xmm3, [rsp+38h+arg_0] ; +0x37, 0x1800c3487 movss [rsp+38h+var_18], xmm0 ; +0x3d, 0x1800c348d mov rax, [rcx] ; +0x43, 0x1800c3493 call qword ptr [rax+60h] ; +0x46, 0x1800c3496 add rsp, 30h ; +0x49, 0x1800c3499 pop rbx ; +0x4d, 0x1800c349d retn ; +0x4e, 0x1800c349e