// // cocos2d::CCRenderTexture::beginWithClear from 0x7e0ad0 to 0x7e0b86 (182 bytes) // // 3 xrefs: // > cocos2d::CCRenderTexture::beginWithClear @ 0x7e0ba0 // > cocos2d::CCRenderTexture::beginWithClear @ 0x7e0bd4 // > cocos2d::CCRenderTexture::beginWithClear @ 0x7e0bf0 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:00:49 +0000 // void __fastcall cocos2d::CCRenderTexture::beginWithClear( cocos2d::CCRenderTexture *this, GLclampf a2, GLclampf a3, GLclampf a4, GLclampf alpha, float a6, GLint s, GLbitfield a8) { GLfloat params; // [sp+4h] [bp-1Ch] BYREF GLint v12; // [sp+8h] [bp-18h] BYREF GLclampf red[4]; // [sp+Ch] [bp-14h] BYREF cocos2d::CCRenderTexture::begin(this); memset(red, 0, sizeof(red)); params = 0.0; v12 = 0; if ( (a8 & 0x4000) != 0 ) { glGetFloatv(0xC22u, red); glClearColor(a2, a3, a4, alpha); } if ( (a8 & 0x100) != 0 ) { glGetFloatv(0xB73u, ¶ms); glClearDepthf(); } if ( (a8 & 0x400) != 0 ) { glGetIntegerv(0xB91u, &v12); glClearStencil(s); } glClear(a8); if ( (a8 & 0x4000) != 0 ) glClearColor(red[0], red[1], red[2], red[3]); if ( (a8 & 0x100) != 0 ) glClearDepthf(); if ( (a8 & 0x400) != 0 ) glClearStencil(v12); }
GD Web Decomp Icon

GD Web Decomp

Raw Source