// // CCSpriteGrayscale::create from 0x5bd124 to 0x5bd1f8 (212 bytes) // // 1 xrefs: // > @ 0x630d8 // // 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 // cocos2d::CCSprite *__fastcall CCSpriteGrayscale::create(const char **a1) { cocos2d::CCSprite *v2; // x0 cocos2d::CCSprite *v3; // x19 const char *v4; // x1 v2 = (cocos2d::CCSprite *)operator new(0x298u, (const std::nothrow_t *)&std::nothrow); v3 = v2; if ( v2 ) { memset(v2, 0, 0x298u); cocos2d::CCSprite::CCSprite(v3); v4 = *a1; v3->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::CCSprite_vtbl *)&off_1144F90; v3->cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_1145480; v3->cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)&off_1145500; if ( cocos2d::CCSprite::initWithFile(v3, v4) ) { cocos2d::CCObject::autorelease(v3); return v3; } v3->~CCSprite_0(v3); } return nullptr; }