//
// GManager::loadFromString from 0x3d40c8 to 0x3d4128 (96 bytes)
//
// 1 xrefs:
// > GManager::loadFromCompressedString @ 0x3d4160
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:46:42 +0000
//
void __fastcall GManager::loadFromString(int a1, int a2)
{
char **v4; // r4
int RootSubDictFromString; // r0
v4 = (char **)operator new(0xD8u);
DS_Dictionary::DS_Dictionary((DS_Dictionary *)v4);
RootSubDictFromString = DS_Dictionary::loadRootSubDictFromString(v4, a2);
if ( (*(_BYTE *)a2 & 1) != 0 )
{
**(_BYTE **)(a2 + 8) = 0;
*(_DWORD *)(a2 + 4) = 0;
}
else
{
*(_BYTE *)(a2 + 1) = 0;
*(_BYTE *)a2 = 0;
}
if ( RootSubDictFromString )
(*(void (__fastcall **)(int, char **))(*(_DWORD *)a1 + 464))(a1, v4);
std::__vector_base
::~__vector_base(v4 + 50);
pugi::xml_document::~xml_document((pugi::xml_document *)v4);
operator delete(v4);
}