// // CCSpriteGrayscale::createWithSpriteFrame from 0x6de41c to 0x6de504 (232 bytes) // // 2 xrefs: // > CCSpriteGrayscale::createWithSpriteFrameName @ 0x6de534 // > @ 0xe5948 // // 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::createWithSpriteFrame( CCSpriteGrayscale *this, cocos2d::CCSpriteFrame *a2) { cocos2d::CCSprite *v3; // x0 cocos2d::CCSprite *v4; // x19 __int64 (__fastcall **v5)(cocos2d::CCCopying *__hidden, cocos2d::CCZone *); // x1 v3 = (cocos2d::CCSprite *)operator new(0x298u, (const std::nothrow_t *)&std::nothrow); v4 = v3; if ( !v3 ) return nullptr; memset(v3, 0, 0x298u); cocos2d::CCSprite::CCSprite(v4); v5 = &off_1423C80; *(_QWORD *)v4 = &off_1423C80; *((_QWORD *)v4 + 40) = &off_1424180; *((_QWORD *)v4 + 43) = &off_1424200; if ( !this ) { LABEL_3: ((void (__fastcall *)(cocos2d::CCSprite *))v5[2])(v4); return nullptr; } if ( !(unsigned __int8)CCSpriteWithHue::initWithSpriteFrame(v4, this) ) { v5 = *(__int64 (__fastcall ***)(cocos2d::CCCopying *__hidden, cocos2d::CCZone *))v4; goto LABEL_3; } cocos2d::CCObject::autorelease(v4); return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source