//
// sub_140222A60 from 0x140222a60 to 0x140222b3a (218 bytes)
//
// 7 xrefs:
// > sub_140223100 @ 0x140223181
// > GameLevelManager::writePlatformerSaveJournal @ 0x1402233f5
// > GameLevelManager::replayPlatformerSaveJournal @ 0x1402237e0
// > GameLevelManager::collectPlatformerJournalKeys @ 0x140223d14
// > GameLevelManager::prunePlatformerJournalKeys @ 0x140223f39
// > ??> @ 0x14091bc5c
// > ??> @ 0x14091bc68
//
// 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:28:25 +0000
//
// Hidden C++ exception states: #wind=2
char __fastcall sub_140222A60(__int64 a1)
{
__int64 v2; // rbx
_QWORD *v3; // rax
void *v4; // rbx
char RootSubDictFromString; // bl
unsigned int v7; // [rsp+30h] [rbp-58h] BYREF
_BYTE v8[32]; // [rsp+38h] [rbp-50h] BYREF
_BYTE v9[32]; // [rsp+58h] [rbp-30h] BYREF
v7 = 0;
v2 = cocos2d::CCFileUtils::sharedFileUtils(a1);
v3 = (_QWORD *)sub_1402229C0((__int64)v9);
if ( v3[3] > 0xFu )
v3 = (_QWORD *)*v3;
v4 = (void *)(*(__int64 (__fastcall **)(__int64, _QWORD *, const char *, unsigned int *))(*(_QWORD *)v2 + 24LL))(
v2,
v3,
"r",
&v7);
sub_14003D310((__int64)v9);
if ( !v4 )
return 0;
cocos2d::ZipUtils::decompressString2(v8, v4, 0, v7, 11);
j_j_free(v4);
RootSubDictFromString = DS_Dictionary::loadRootSubDictFromString(a1, v8);
sub_14003D310((__int64)v8);
return RootSubDictFromString;
}