// // cocos2d::CCTexture2D::initWithImage from 0x1800a94f0 to 0x1800a9556 (102 bytes) // // 6 xrefs: // > cocos2d::CCTextureCache::addImage @ 0x1800ab75a // > cocos2d::CCTextureCache::addImageAsyncCallBack @ 0x1800abf88 // > cocos2d::CCTextureCache::addUIImage @ 0x1800ac68a // > cocos2d::CCTextureCache::reloadTexture @ 0x1800acfae // > @ 0x18014cf68 // > @ 0x1801c1f14 // // This function is hookable on this platform (idp: pc, 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 11:22:16 +0000 // char __fastcall cocos2d::CCTexture2D::initWithImage(cocos2d::CCTexture2D *this, struct cocos2d::CCImage *a2) { unsigned int v4; // ebp unsigned int v5; // edi cocos2d::CCInteger *v6; // rax unsigned int Value; // eax if ( a2 && (v4 = *((unsigned __int16 *)a2 + 28), v5 = *((unsigned __int16 *)a2 + 29), v6 = cocos2d::CCConfiguration::sharedConfiguration(), Value = cocos2d::CCInteger::getValue(v6), v4 <= Value) && v5 <= Value ) { return cocos2d::CCTexture2D::initPremultipliedATextureWithImage(this, a2, v4, v5); } else { return 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source