; ; cocos2d::CCRenderTexture::clear from 0x180061a30 to 0x180061ab7 (135 bytes) ; ; 3 xrefs: ; > cocos2d::CCTransitionProgress::onEnter @ 0x18005956e ; > @ 0x18014cf68 ; > @ 0x1801bd684 ; ; 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:21:51 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x180061a30 push rdi ; +0x5, 0x180061a35 sub rsp, 40h ; +0x6, 0x180061a36 mov [rsp+48h+mask], 4000h; mask ; +0xa, 0x180061a3a xorps xmm0, xmm0 ; +0x12, 0x180061a42 mov [rsp+48h+s], 0; s ; +0x15, 0x180061a45 mov rdi, rcx ; +0x1d, 0x180061a4d movss [rsp+48h+var_20], xmm0; float ; +0x20, 0x180061a50 movss xmm0, [rsp+48h+arg_20] ; +0x26, 0x180061a56 movss [rsp+48h+alpha], xmm0; alpha ; +0x2c, 0x180061a5c call ?beginWithClear@CCRenderTexture@cocos2d@@AEAAXMMMMMHI@Z; cocos2d::CCRenderTexture::beginWithClear(float,float,float,float,float,int,uint) ; +0x32, 0x180061a62 call ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x37, 0x180061a67 mov rcx, cs:__glewBindFramebuffer ; +0x3c, 0x180061a6c mov rbx, rax ; +0x43, 0x180061a73 mov edx, [rdi+150h] ; +0x46, 0x180061a76 mov r8, [rcx] ; +0x4c, 0x180061a7c mov ecx, 8D40h ; +0x4f, 0x180061a7f call r8 ; +0x54, 0x180061a84 mov rcx, rbx; this ; +0x57, 0x180061a87 call ?setViewport@CCDirector@cocos2d@@QEAAXXZ; cocos2d::CCDirector::setViewport(void) ; +0x5a, 0x180061a8a mov ecx, 1701h ; +0x5f, 0x180061a8f call kmGLMatrixMode ; +0x64, 0x180061a94 call kmGLPopMatrix ; +0x69, 0x180061a99 mov ecx, 1700h ; +0x6e, 0x180061a9e call kmGLMatrixMode ; +0x73, 0x180061aa3 mov rbx, [rsp+48h+arg_0] ; +0x78, 0x180061aa8 add rsp, 40h ; +0x7d, 0x180061aad pop rdi ; +0x81, 0x180061ab1 jmp kmGLPopMatrix ; +0x82, 0x180061ab2