//
// GManager::tryLoadData from 0x10024ac68 to 0x10024acd8 (112 bytes)
//
// 3 xrefs:
// > GManager::loadDataFromFile @ 0x10024ab0c
// > GManager::loadDataFromFile @ 0x10024ab3c
// > GManager::loadDataFromFile @ 0x10024ab9c
//
// 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
//
__int64 __fastcall GManager::tryLoadData(__int64 a1, DS_Dictionary *a2, __int64 a3)
{
__int64 v4; // x0
__int64 RootSubDictFromString; // x19
std::string __p; // [xsp+8h] [xbp-28h] BYREF
memset(&__p, 0, sizeof(__p));
if ( *(char *)(a3 + 23) >= 0 )
v4 = a3;
else
v4 = *(_QWORD *)a3;
PlatformToolbox::loadAndDecryptFileToString(v4, (__int64)"/data/data/com.robtopx.geometryjump/", &__p);
RootSubDictFromString = DS_Dictionary::loadRootSubDictFromString(a2, (__int64 *)&__p);
if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 )
operator delete(__p.__r_.__value_.__l.__data_);
return RootSubDictFromString;
}