// // cocos2d::VolatileTexture::VolatileTexture from 0x5f4f0c to 0x5f4fca (190 bytes) // // 1 xrefs: // > cocos2d::VolatileTexture::findVolotileTexture @ 0x5f509c // // 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 // // Alternative name is '_ZN7cocos2d15VolatileTextureC1EPNS_11CCTexture2DE' cocos2d::VolatileTexture *__fastcall cocos2d::VolatileTexture::VolatileTexture( cocos2d::VolatileTexture *this, cocos2d::CCTexture2D *a2, float a3) { int v4; // r3 cocos2d::CCSize *p_m_size; // r10 cocos2d::CCSize *p_m_TextureSize; // r0 _DWORD *v7; // r0 int v8; // r2 int v9; // r3 cocos2d::CCSize v11; // [sp+4h] [bp-Ch] BYREF int v12; // [sp+Ch] [bp-4h] LODWORD(v11.width) = a2; v11.height = a3; this->uiImage = nullptr; this->m_eCashedImageType = kInvalid; v4 = _stack_chk_guard; p_m_size = &this->m_size; this->texture = a2; p_m_TextureSize = &this->m_TextureSize; p_m_TextureSize[-1].height = 0.0; v12 = v4; cocos2d::CCSize::CCSize(p_m_TextureSize); this->m_PixelFormat = kCCTexture2DPixelFormat_RGBA8888; sub_776584((int)&this->m_strFileName, (char *)&unk_939830); this->m_FmtImage = kFmtPng; cocos2d::CCSize::CCSize(p_m_size); this->m_alignment = kCCTextAlignmentCenter; this->m_vAlignment = kCCVerticalTextAlignmentCenter; sub_776584((int)&this->m_strFontName, (char *)&unk_939830); sub_776584((int)&this->m_strText, (char *)&unk_939830); this->m_fFontSize = 0.0; cocos2d::CCSize::CCSize(&v11, 0.0, 0.0); cocos2d::CCSize::operator=(p_m_size, &v11.width); this->m_texParams.minFilter = 9729; this->m_texParams.magFilter = 9729; this->m_texParams.wrapS = 33071; this->m_texParams.wrapT = 33071; v7 = (_DWORD *)operator new(0xCu); *v7 = 0; v7[1] = 0; v7[2] = this; sub_74AAF0(v7, &cocos2d::VolatileTexture::textures, v8, v9); return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source