//
// cocos2d::CCSpriteFrameCache::init from 0x10031c100 to 0x10031c15f (95 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
//
bool __fastcall cocos2d::CCSpriteFrameCache::init(cocos2d::CCSpriteFrameCache *a1)
{
cocos2d::CCSpriteFrameCache_vtbl *v1; // r14
void *v2; // r14
char *v3; // rax
v1 = (cocos2d::CCSpriteFrameCache_vtbl *)operator new(0x48u);
cocos2d::CCDictionary::CCDictionary((__int64)v1);
a1[1].__vftable = v1;
v2 = operator new(0x48u);
cocos2d::CCDictionary::CCDictionary((__int64)v2);
*(_QWORD *)&a1[1].m_uID = v2;
v3 = (char *)operator new(0x18u);
*(_OWORD *)(v3 + 8) = 0;
*(_QWORD *)v3 = v3 + 8;
*(_QWORD *)&a1[1].m_nTag = v3;
return 1;
}