// // CCSpriteWithHue::createWithSpriteFrame from 0x306a70 to 0x306acc (92 bytes) // // 1 xrefs: // > CCSpriteWithHue::createWithSpriteFrameName @ 0x306ae2 // // 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 // CCSpriteWithHue *CCSpriteWithHue::createWithSpriteFrame(cocos2d::CCSpriteFrame *a1) { CCSpriteWithHue *v2; // r0 CCSpriteWithHue *v3; // r4 v2 = (CCSpriteWithHue *)operator new(0x23Cu, (const std::nothrow_t *)&std::nothrow); v3 = v2; if ( !v2 ) return v3; memset(v2, 0, sizeof(CCSpriteWithHue)); CCSpriteWithHue::CCSpriteWithHue(v3); if ( a1 && ((int (__fastcall *)(CCSpriteWithHue *, cocos2d::CCSpriteFrame *))v3->initWithSpriteFrame)(v3, a1) ) { cocos2d::CCObject::autorelease(v3); return v3; } v3->~CCSpriteWithHue_0(v3); return nullptr; }