; ; cocos2d::CCRenderTexture::clear from 0x18005f850 to 0x18005f8d4 (132 bytes) ; ; 3 xrefs: ; > cocos2d::CCTransitionProgress::onEnter @ 0x180057668 ; > @ 0x1801438a8 ; > @ 0x1801b33c0 ; ; 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, 0x18005f850 push rdi ; +0x5, 0x18005f855 sub rsp, 40h ; +0x6, 0x18005f856 mov [rsp+48h+mask], 4000h; mask ; +0xa, 0x18005f85a xorps xmm0, xmm0 ; +0x12, 0x18005f862 mov [rsp+48h+s], 0; s ; +0x15, 0x18005f865 mov rdi, rcx ; +0x1d, 0x18005f86d movss [rsp+48h+var_20], xmm0; float ; +0x20, 0x18005f870 movss xmm0, [rsp+48h+arg_20] ; +0x26, 0x18005f876 movss [rsp+48h+alpha], xmm0; alpha ; +0x2c, 0x18005f87c call ?beginWithClear@CCRenderTexture@cocos2d@@AEAAXMMMMMHI@Z; cocos2d::CCRenderTexture::beginWithClear(float,float,float,float,float,int,uint) ; +0x32, 0x18005f882 call ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x37, 0x18005f887 mov r8, cs:__glewBindFramebuffer ; +0x3c, 0x18005f88c mov ecx, 8D40h ; +0x43, 0x18005f893 mov edx, [rdi+150h] ; +0x48, 0x18005f898 mov rbx, rax ; +0x4e, 0x18005f89e call qword ptr [r8] ; +0x51, 0x18005f8a1 mov rcx, rbx; this ; +0x54, 0x18005f8a4 call ?setViewport@CCDirector@cocos2d@@QEAAXXZ; cocos2d::CCDirector::setViewport(void) ; +0x57, 0x18005f8a7 mov ecx, 1701h ; +0x5c, 0x18005f8ac call kmGLMatrixMode ; +0x61, 0x18005f8b1 call kmGLPopMatrix ; +0x66, 0x18005f8b6 mov ecx, 1700h ; +0x6b, 0x18005f8bb call kmGLMatrixMode ; +0x70, 0x18005f8c0 mov rbx, [rsp+48h+arg_0] ; +0x75, 0x18005f8c5 add rsp, 40h ; +0x7a, 0x18005f8ca pop rdi ; +0x7e, 0x18005f8ce jmp kmGLPopMatrix ; +0x7f, 0x18005f8cf