// // CCSpriteGrayscale::createWithTexture from 0x6de334 to 0x6de41c (232 bytes) // // 1 xrefs: // > @ 0xd3858 // // 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 12:51:35 +0000 // cocos2d::CCSprite *__fastcall CCSpriteGrayscale::createWithTexture( CCSpriteGrayscale *this, cocos2d::CCTexture2D *a2, const cocos2d::CCRect *a3) { char v5; // w21 cocos2d::CCSprite *v6; // x0 cocos2d::CCSprite *v7; // x19 v5 = (char)a3; v6 = (cocos2d::CCSprite *)operator new(0x298u, (const std::nothrow_t *)&std::nothrow); v7 = v6; if ( v6 ) { memset(v6, 0, 0x298u); cocos2d::CCSprite::CCSprite(v7); *(_QWORD *)v7 = &off_1423C80; *((_QWORD *)v7 + 40) = &off_1424180; *((_QWORD *)v7 + 43) = &off_1424200; if ( (unsigned __int8)CCSpriteWithHue::initWithTexture(v7, this, a2, v5) ) { cocos2d::CCObject::autorelease(v7); return v7; } (*(void (__fastcall **)(cocos2d::CCSprite *))(*(_QWORD *)v7 + 16LL))(v7); } return nullptr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source