// // cocos2d::CCTexture2D::initWithETCFile from 0xda2870 to 0xda2960 (240 bytes) // // 2 xrefs: // > cocos2d::CCTextureCache::addETCImage @ 0xda626c // > @ 0x9e8c0 // // 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:08:30 +0000 // __int64 __fastcall cocos2d::CCTexture2D::initWithETCFile(cocos2d::CCTexture2D *this, const char *a2) { cocos2d::CCTextureETC *v3; // x21 unsigned __int8 v4; // w0 unsigned int v5; // w22 unsigned int Height; // w0 unsigned int v7; // w3 float v10; // [xsp+50h] [xbp+50h] BYREF v3 = (cocos2d::CCTextureETC *)operator new(0x48u); cocos2d::CCTextureETC::CCTextureETC(v3); v4 = cocos2d::CCTextureETC::initWithFile(v3, a2); v5 = v4; if ( v4 ) { *((_DWORD *)this + 18) = cocos2d::CCTextureETC::getName(v3); *((float *)this + 19) = 1.0; *((float *)this + 20) = 1.0; *((_DWORD *)this + 16) = cocos2d::CCTextureETC::getWidth(v3); Height = cocos2d::CCTextureETC::getHeight(v3); v7 = *((_DWORD *)this + 16); *((_DWORD *)this + 17) = Height; cocos2d::CCSize::CCSize(&v10, (float)v7, (float)Height); cocos2d::CCSize::operator=((float *)this + 21, &v10); *((_BYTE *)this + 92) = 1; cocos2d::CCObject::release(v3); } return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source