// // cocos2d::CCRenderTexture::clearDepth from 0x1005f5f10 to 0x1005f5fa3 (147 bytes) // // 0 xrefs: // // 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 // void __fastcall cocos2d::CCRenderTexture::clearDepth(cocos2d::CCRenderTexture *a1, float a2) { cocos2d::CCDirector *v2; // r14 GLfloat params; // [rsp+8h] [rbp-18h] BYREF float v4; // [rsp+Ch] [rbp-14h] v4 = a2; cocos2d::CCRenderTexture::begin(a1); glGetFloatv(0xB73u, ¶ms); glClearDepth(v4); glClear(0x100u); glClearDepth(params); v2 = cocos2d::CCDirector::sharedDirector(); glBindFramebuffer(0x8D40u, a1->m_nOldFBO); cocos2d::CCDirector::setViewport(v2); sub_100207E30(5889); sub_100207EB0(5889); sub_100207E30(5888); sub_100207EB0(5888); }
GD Web Decomp Icon

GD Web Decomp

Raw Source