// // CCSpriteWithHue::createWithTexture from 0x306a00 to 0x306a6a (106 bytes) // // 0 xrefs: // // 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::createWithTexture(cocos2d::CCTexture2D *a1) { int v1; // r1 int v2; // r2 int v4; // r7 int v5; // r6 CCSpriteWithHue *v6; // r0 CCSpriteWithHue *v7; // r4 v4 = v1; v5 = v2; v6 = (CCSpriteWithHue *)operator new(0x23Cu, (const std::nothrow_t *)&std::nothrow); v7 = v6; if ( !v6 ) return v7; memset(v6, 0, sizeof(CCSpriteWithHue)); CCSpriteWithHue::CCSpriteWithHue(v7); if ( ((int (__fastcall *)(CCSpriteWithHue *, cocos2d::CCTexture2D *, int, int))v7->initWithTexture_1)(v7, a1, v4, v5) ) { cocos2d::CCObject::autorelease(v7); return v7; } v7->~CCSpriteWithHue_0(v7); return nullptr; }