//
// GManager::tryLoadData from 0x1002e8060 to 0x1002e80d0 (112 bytes)
//
// 3 xrefs:
// > GManager::loadDataFromFile @ 0x1002e7f04
// > GManager::loadDataFromFile @ 0x1002e7f34
// > GManager::loadDataFromFile @ 0x1002e7f94
//
// This function is hookable on this platform (idp: arm, 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:02:51 +0000
//
__int64 __fastcall GManager::tryLoadData(__int64 a1, __int64 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;
sub_1001F94AC(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;
}