// // CCSpriteGrayscale::createWithTexture from 0x6de268 to 0x6de334 (204 bytes) // // 1 xrefs: // > @ 0xcc7d8 // // 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) { cocos2d::CCSprite *v3; // x0 cocos2d::CCSprite *v4; // x19 v3 = (cocos2d::CCSprite *)operator new(0x298u, (const std::nothrow_t *)&std::nothrow); v4 = v3; if ( v3 ) { memset(v3, 0, 0x298u); cocos2d::CCSprite::CCSprite(v4); *(_QWORD *)v4 = &off_1423C80; *((_QWORD *)v4 + 40) = &off_1424180; *((_QWORD *)v4 + 43) = &off_1424200; if ( (unsigned __int8)CCSpriteWithHue::initWithTexture(v4, this) ) { cocos2d::CCObject::autorelease(v4); return v4; } (*(void (__fastcall **)(cocos2d::CCSprite *))(*(_QWORD *)v4 + 16LL))(v4); } return nullptr; }