//
// FileSaveManager::sharedState from 0x100006ce0 to 0x100006d5c (124 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
//
FileSaveManager *__fastcall FileSaveManager::sharedState()
{
FileSaveManager *result; // rax
char *v1; // rbx
result = (FileSaveManager *)qword_10099E760;
if ( !qword_10099E760 )
{
v1 = (char *)operator new(0x168u);
cocos2d::CCNode::CCNode(v1);
*(_OWORD *)(v1 + 331) = 0;
*((_OWORD *)v1 + 20) = 0;
*(_QWORD *)v1 = off_1008AFD50;
*((_QWORD *)v1 + 44) = 0;
qword_10099E760 = (__int64)v1;
std::string::assign((std::string *)(v1 + 320), "CCData.dat");
return (FileSaveManager *)qword_10099E760;
}
return result;
}