; ; cocos2d::CCRenderTexture::end from 0x18005fda0 to 0x18005fdfa (90 bytes) ; ; 6 xrefs: ; > cocos2d::CCTransitionCrossFade::onEnter @ 0x180054c8b ; > cocos2d::CCTransitionCrossFade::onEnter @ 0x180054d42 ; > cocos2d::CCTransitionProgress::onEnter @ 0x180057688 ; > cocos2d::CCRenderTexture::endToLua @ 0x1800d1720 ; > @ 0x1801438a8 ; > @ 0x1801b3444 ; ; 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 ; mov [rsp+arg_0], rbx ; +0x0, 0x18005fda0 push rdi ; +0x5, 0x18005fda5 sub rsp, 20h ; +0x6, 0x18005fda6 mov rbx, rcx ; +0xa, 0x18005fdaa call ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0xd, 0x18005fdad mov r8, cs:__glewBindFramebuffer ; +0x12, 0x18005fdb2 mov ecx, 8D40h ; +0x19, 0x18005fdb9 mov edx, [rbx+150h] ; +0x1e, 0x18005fdbe mov rdi, rax ; +0x24, 0x18005fdc4 call qword ptr [r8] ; +0x27, 0x18005fdc7 mov rcx, rdi; this ; +0x2a, 0x18005fdca call ?setViewport@CCDirector@cocos2d@@QEAAXXZ; cocos2d::CCDirector::setViewport(void) ; +0x2d, 0x18005fdcd mov ecx, 1701h ; +0x32, 0x18005fdd2 call kmGLMatrixMode ; +0x37, 0x18005fdd7 call kmGLPopMatrix ; +0x3c, 0x18005fddc mov ecx, 1700h ; +0x41, 0x18005fde1 call kmGLMatrixMode ; +0x46, 0x18005fde6 mov rbx, [rsp+28h+arg_0] ; +0x4b, 0x18005fdeb add rsp, 20h ; +0x50, 0x18005fdf0 pop rdi ; +0x54, 0x18005fdf4 jmp kmGLPopMatrix ; +0x55, 0x18005fdf5