{"type": "func", "start": 6442852224, "end": 6442852317, "name": "cocos2d::CCRenderTexture::end", "pseudocode": "// \n// cocos2d::CCRenderTexture::end from 0x180061f80 to 0x180061fdd (93 bytes)\n// \n// 6 xrefs:\n// > cocos2d::CCTransitionCrossFade::onEnter @ 0x180056a4e\n// > cocos2d::CCTransitionCrossFade::onEnter @ 0x180056b08\n// > cocos2d::CCTransitionProgress::onEnter @ 0x18005958e\n// > cocos2d::CCRenderTexture::endToLua @ 0x1800d5dc0\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bd708\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:21:51 +0000\n// \n\nvoid __fastcall cocos2d::CCRenderTexture::end(cocos2d::CCRenderTexture *this)\n{\n  cocos2d::CCDirector *v2; // rdi\n\n  v2 = cocos2d::CCDirector::sharedDirector();\n  _glewBindFramebuffer(36160, *((unsigned int *)this + 84));\n  cocos2d::CCDirector::setViewport(v2);\n  kmGLMatrixMode(5889);\n  kmGLPopMatrix();\n  kmGLMatrixMode(5888);\n  kmGLPopMatrix();\n}", "assembly": "; \n; cocos2d::CCRenderTexture::end from 0x180061f80 to 0x180061fdd (93 bytes)\n; \n; 6 xrefs:\n; > cocos2d::CCTransitionCrossFade::onEnter @ 0x180056a4e\n; > cocos2d::CCTransitionCrossFade::onEnter @ 0x180056b08\n; > cocos2d::CCTransitionProgress::onEnter @ 0x18005958e\n; > cocos2d::CCRenderTexture::endToLua @ 0x1800d5dc0\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bd708\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:21:51 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180061f80\npush    rdi                                                            ; +0x5, 0x180061f85\nsub     rsp, 20h                                                       ; +0x6, 0x180061f86\nmov     rbx, rcx                                                       ; +0xa, 0x180061f8a\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0xd, 0x180061f8d\nmov     rdx, cs:__glewBindFramebuffer                                  ; +0x12, 0x180061f92\nmov     ecx, 8D40h                                                     ; +0x19, 0x180061f99\nmov     rdi, rax                                                       ; +0x1e, 0x180061f9e\nmov     r8, [rdx]                                                      ; +0x21, 0x180061fa1\nmov     edx, [rbx+150h]                                                ; +0x24, 0x180061fa4\ncall    r8                                                             ; +0x2a, 0x180061faa\nmov     rcx, rdi; this                                                 ; +0x2d, 0x180061fad\ncall    ?setViewport@CCDirector@cocos2d@@QEAAXXZ; cocos2d::CCDirector::setViewport(void) ; +0x30, 0x180061fb0\nmov     ecx, 1701h                                                     ; +0x35, 0x180061fb5\ncall    kmGLMatrixMode                                                 ; +0x3a, 0x180061fba\ncall    kmGLPopMatrix                                                  ; +0x3f, 0x180061fbf\nmov     ecx, 1700h                                                     ; +0x44, 0x180061fc4\ncall    kmGLMatrixMode                                                 ; +0x49, 0x180061fc9\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4e, 0x180061fce\nadd     rsp, 20h                                                       ; +0x53, 0x180061fd3\npop     rdi                                                            ; +0x57, 0x180061fd7\njmp     kmGLPopMatrix                                                  ; +0x58, 0x180061fd8", "xrefs": ["cocos2d::CCTransitionCrossFade::onEnter @ 0x180056a4e", "cocos2d::CCTransitionCrossFade::onEnter @ 0x180056b08", "cocos2d::CCTransitionProgress::onEnter @ 0x18005958e", "cocos2d::CCRenderTexture::endToLua @ 0x1800d5dc0", "<???> @ 0x18014cf68", "<???> @ 0x1801bd708"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}