// // cocos2d::CCRenderTexture::beginWithClear from 0xd6af08 to 0xd6b060 (344 bytes) // // 4 xrefs: // > cocos2d::CCRenderTexture::beginWithClear @ 0xd6b06c // > cocos2d::CCRenderTexture::beginWithClear @ 0xd6b09c // > cocos2d::CCRenderTexture::beginWithClear @ 0xd6b0a4 // > @ 0x43120 // // This function is hookable on this platform (idp: arm, 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 13:07:56 +0000 // __int64 __fastcall cocos2d::CCRenderTexture::beginWithClear( cocos2d::CCTexture2D **this, float a2, float a3, float a4, float a5, float a6, int a7, __int16 a8) { int v9; // w23 v9 = a8 & 0x4000; cocos2d::CCRenderTexture::begin(this); if ( (a8 & 0x4000) != 0 ) { glGetFloatv(); glClearColor(); } if ( (a8 & 0x100) != 0 ) { glGetFloatv(); glClearDepthf(); } if ( (a8 & 0x400) != 0 ) { glGetIntegerv(); glClearStencil(); } glClear(); if ( !v9 ) { if ( (a8 & 0x100) == 0 ) goto LABEL_9; goto LABEL_12; } glClearColor(); if ( (a8 & 0x100) != 0 ) LABEL_12: glClearDepthf(); LABEL_9: if ( (a8 & 0x400) != 0 ) glClearStencil(); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source