//
// cocos2d::CCTexturePVR::create from 0x5f6ae8 to 0x5f6b1a (50 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
//
cocos2d::CCTexturePVR *cocos2d::CCTexturePVR::create(const char *a1)
{
cocos2d::CCTexturePVR *v2; // r4
cocos2d::CCTexturePVR_vtbl *v3; // r3
cocos2d::CCTexturePVR *v4; // r0
v2 = (cocos2d::CCTexturePVR *)operator new(0xD0u);
cocos2d::CCTexturePVR::CCTexturePVR(v2);
if ( cocos2d::CCTexturePVR::initWithContentsOfFile(v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
v3 = v2->__vftable;
v4 = v2;
v2 = nullptr;
v3->~CCTexturePVR_0(v4);
}
return v2;
}