; ; cocos2d::CCDirector::setViewport from 0x1800bfc10 to 0x1800bfc5f (79 bytes) ; ; 11 xrefs: ; > cocos2d::CCRenderTexture::clear @ 0x18005f8a7 ; > cocos2d::CCRenderTexture::clearDepth @ 0x18005f951 ; > cocos2d::CCRenderTexture::draw @ 0x18005fd5d ; > cocos2d::CCRenderTexture::end @ 0x18005fdcd ; > cocos2d::CCRenderTexture::newCCImage @ 0x1800603cd ; > cocos2d::CCEGLView::onGLFWWindowPosCallback @ 0x180077c30 ; > sub_180077C40 @ 0x180077c5a ; > cocos2d::CCEGLView::updateWindow @ 0x180079294 ; > @ 0x1801438a8 ; > @ 0x1801b93b4 ; > @ 0x1801b93c0 ; ; 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 ; push rbx ; +0x0, 0x1800bfc10 sub rsp, 30h ; +0x2, 0x1800bfc12 cmp qword ptr [rcx+0B8h], 0 ; +0x6, 0x1800bfc16 mov rbx, rcx ; +0xe, 0x1800bfc1e jz short loc_1800BFC59 ; +0x11, 0x1800bfc21 lea rdx, [rcx+138h] ; +0x13, 0x1800bfc23 lea rcx, [rsp+38h+arg_0] ; +0x1a, 0x1800bfc2a call ??4cc_timeval@cocos2d@@QEAAAEAU01@$$QEAU01@@Z; cocos2d::cc_timeval::operator=(cocos2d::cc_timeval &&) ; +0x1f, 0x1800bfc2f mov rcx, [rbx+0B8h] ; +0x24, 0x1800bfc34 xorps xmm2, xmm2 ; +0x2b, 0x1800bfc3b movss xmm0, [rsp+38h+arg_4] ; +0x2e, 0x1800bfc3e xorps xmm1, xmm1 ; +0x34, 0x1800bfc44 movss xmm3, [rsp+38h+arg_0] ; +0x37, 0x1800bfc47 movss [rsp+38h+var_18], xmm0 ; +0x3d, 0x1800bfc4d mov rax, [rcx] ; +0x43, 0x1800bfc53 call qword ptr [rax+60h] ; +0x46, 0x1800bfc56 add rsp, 30h ; +0x49, 0x1800bfc59 pop rbx ; +0x4d, 0x1800bfc5d retn ; +0x4e, 0x1800bfc5e