//
// cocos2d::CCSpriteFrameCache::init from 0x180094e60 to 0x180094f08 (168 bytes)
//
// 3 xrefs:
// > cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache @ 0x180095d49
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c05f4
//
// 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 11:22:09 +0000
//
// Hidden C++ exception states: #wind=3
char __fastcall cocos2d::CCSpriteFrameCache::init(cocos2d::CCSpriteFrameCache *this)
{
cocos2d::CCDictionary *v2; // rax
cocos2d::CCDictionary *v3; // rax
__int64 *v4; // rax
__int64 *v5; // rbx
__int64 v6; // rax
v2 = (cocos2d::CCDictionary *)sub_1800E4AC0(0x48u);
if ( v2 )
v2 = cocos2d::CCDictionary::CCDictionary(v2);
*((_QWORD *)this + 7) = v2;
v3 = (cocos2d::CCDictionary *)sub_1800E4AC0(0x48u);
if ( v3 )
v3 = cocos2d::CCDictionary::CCDictionary(v3);
*((_QWORD *)this + 8) = v3;
v4 = (__int64 *)sub_1800E4AC0(0x10u);
v5 = v4;
if ( v4 )
{
*v4 = 0;
v4[1] = 0;
v6 = sub_1800E4AC0(0x40u);
*(_QWORD *)v6 = v6;
*(_QWORD *)(v6 + 8) = v6;
*(_QWORD *)(v6 + 16) = v6;
*(_WORD *)(v6 + 24) = 257;
*v5 = v6;
}
else
{
v5 = nullptr;
}
*((_QWORD *)this + 9) = v5;
return 1;
}