//
// cocos2d::CCTexturePVR::create from 0x100272380 to 0x1002723e6 (102 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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:27:37 +0000
//
char *__fastcall cocos2d::CCTexturePVR::create(const char *a1)
{
char *v1; // rbx
v1 = (char *)operator new(0x158u);
cocos2d::CCObject::CCObject(v1);
*(_QWORD *)v1 = off_100AF9480;
*(_OWORD *)(v1 + 312) = 0;
*(_OWORD *)(v1 + 328) = 0;
if ( (unsigned __int8)cocos2d::CCTexturePVR::initWithContentsOfFile((__int64)v1, a1) )
{
cocos2d::CCObject::autorelease(v1);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 16LL))(v1);
return nullptr;
}
return v1;
}