// // GManager::loadDataFromFile from 0x3d465c to 0x3d475e (258 bytes) // // 1 xrefs: // > GManager::load @ 0x3d4770 // // 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:43 +0000 // void __fastcall GManager::loadDataFromFile(int a1, unsigned __int8 *a2) { char **v4; // r7 char *v5; // r1 int Data; // r10 int v7; // r3 DS_Dictionary *v8; // r0 const char *v9; // r1 char *v10; // r1 int v11[3]; // [sp+4h] [bp-1Ch] BYREF int v12[3]; // [sp+10h] [bp-10h] BYREF v4 = (char **)operator new(0xD8u); DS_Dictionary::DS_Dictionary((DS_Dictionary *)v4); if ( GManager::tryLoadData(a1, (DS_Dictionary *)v4, (int)a2) ) goto LABEL_2; v5 = (*a2 & 1) != 0 ? *((char **)a2 + 2) : (char *)(a2 + 1); sub_3D44FC(v11, v5, "2.dat"); Data = GManager::tryLoadData(a1, (DS_Dictionary *)v4, (int)v11); v7 = *a2; if ( Data ) { v8 = (v11[0] & 1) != 0 ? (DS_Dictionary *)v11[2] : (DS_Dictionary *)((char *)v11 + 1); v9 = (v7 & 1) != 0 ? *((const char **)a2 + 2) : (const char *)(a2 + 1); DS_Dictionary::copyFile(v8, v9, (const char *)(v7 << 31)); } else { v10 = (v7 & 1) != 0 ? *((char **)a2 + 2) : (char *)(a2 + 1); sub_3D44FC(v12, v10, ".dat.bak"); Data = GManager::tryLoadData(a1, (DS_Dictionary *)v4, (int)v12); std::string::~string((int)v12); } std::string::~string((int)v11); if ( Data ) LABEL_2: (*(void (__fastcall **)(int, char **))(*(_DWORD *)a1 + 464))(a1, v4); else (*(void (__fastcall **)(int))(*(_DWORD *)a1 + 468))(a1); std::__vector_base::~__vector_base(v4 + 50); pugi::xml_document::~xml_document((pugi::xml_document *)v4); operator delete(v4); }
GD Web Decomp Icon

GD Web Decomp

Raw Source