// // GManager::loadDataFromFile from 0x6a95bc to 0x6a97c8 (524 bytes) // // 2 xrefs: // > GManager::load @ 0x6a97cc // > @ 0xe80a8 // // 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 12:50:47 +0000 // __int64 __fastcall GManager::loadDataFromFile(__int64 a1, unsigned __int8 *a2) { DS_Dictionary *v4; // x19 char *v5; // x0 char *v6; // x2 char *v8; // x0 unsigned __int8 Data; // w0 int v10; // w24 DS_Dictionary *v11; // x0 const char *v12; // x1 const char *v13; // x2 char *v14; // x0 __int64 v15[2]; // [xsp+48h] [xbp+48h] BYREF DS_Dictionary *v16; // [xsp+58h] [xbp+58h] __int64 v17[3]; // [xsp+60h] [xbp+60h] BYREF v4 = (DS_Dictionary *)operator new(0xF0u); DS_Dictionary::DS_Dictionary(v4); if ( (unsigned __int8)GManager::tryLoadData(a1, v4, (__int64)a2) ) goto LABEL_2; v8 = (char *)(a2 + 1); if ( (*a2 & 1) != 0 ) v8 = *((char **)a2 + 2); sub_6A932C(v8, "2.dat", v15); Data = GManager::tryLoadData(a1, v4, (__int64)v15); v10 = Data; if ( Data ) { v11 = (DS_Dictionary *)((char *)v15 + 1); if ( (v15[0] & 1) != 0 ) v11 = v16; v12 = (const char *)(a2 + 1); v13 = (const char *)*a2; if ( ((unsigned __int8)v13 & 1) != 0 ) v12 = *((const char **)a2 + 2); DS_Dictionary::copyFile(v11, v12, v13); if ( (v15[0] & 1) == 0 ) goto LABEL_2; goto LABEL_16; } if ( (*a2 & 1) != 0 ) v14 = *((char **)a2 + 2); else v14 = (char *)(a2 + 1); sub_6A932C(v14, ".dat.bak", v17); v10 = (unsigned __int8)GManager::tryLoadData(a1, v4, (__int64)v17); if ( (v17[0] & 1) != 0 ) operator delete((void *)v17[2]); if ( (v15[0] & 1) != 0 ) LABEL_16: operator delete(v16); if ( v10 ) { LABEL_2: (*(void (__fastcall **)(__int64, DS_Dictionary *))(*(_QWORD *)a1 + 928LL))(a1, v4); goto LABEL_3; } (*(void (__fastcall **)(__int64))(*(_QWORD *)a1 + 936LL))(a1); LABEL_3: v5 = *((char **)v4 + 26); if ( v5 ) { v6 = *((char **)v4 + 27); if ( v5 != v6 ) *((_QWORD *)v4 + 27) = &v6[8 * ~((unsigned __int64)(v6 - 8 - v5) >> 3)]; operator delete(v5); } pugi::xml_document::~xml_document(v4); operator delete(v4); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source