// // GManager::loadDataFromFile from 0x140077850 to 0x1400779c6 (374 bytes) // // 2 xrefs: // > GManager::setup @ 0x14007736e // > @ 0x140911be8 // // This function is hookable on this platform (idp: pc, 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:25:51 +0000 // // Hidden C++ exception states: #wind=6 void __fastcall GManager::loadDataFromFile(__int64 a1, char *a2) { DS_Dictionary *v4; // rax DS_Dictionary *v5; // rdi const char *v6; // rdx __int64 v7; // r8 char *v8; // rdx const char *v9; // rdx bool RootSubDictFromCompressedFile; // bp __int64 v11; // r8 unsigned __int64 v12; // rcx const char *v13; // rcx const char *v14; // rdx DS_Dictionary *v15; // [rsp+20h] [rbp-68h] _QWORD v16[3]; // [rsp+28h] [rbp-60h] BYREF unsigned __int64 v17; // [rsp+40h] [rbp-48h] _QWORD v18[4]; // [rsp+48h] [rbp-40h] BYREF v15 = (DS_Dictionary *)operator new(0xF0u); v4 = DS_Dictionary::DS_Dictionary(v15); v5 = v4; v6 = a2; if ( *((_QWORD *)a2 + 3) > 0xFu ) v6 = *(const char **)a2; if ( DS_Dictionary::loadRootSubDictFromCompressedFile(v4, v6, 1) ) goto LABEL_21; v8 = a2; if ( *((_QWORD *)a2 + 3) > 0xFu ) v8 = *(char **)a2; sub_140077030(v16, v8, v7, "2.dat"); v9 = (const char *)v16; if ( v17 > 0xF ) v9 = (const char *)v16[0]; RootSubDictFromCompressedFile = DS_Dictionary::loadRootSubDictFromCompressedFile(v5, v9, 1); v12 = *((_QWORD *)a2 + 3); if ( RootSubDictFromCompressedFile ) { if ( v12 > 0xF ) a2 = *(char **)a2; v13 = (const char *)v16; if ( v17 > 0xF ) v13 = (const char *)v16[0]; DS_Dictionary::copyFile(v13, a2); } else { if ( v12 > 0xF ) a2 = *(char **)a2; sub_140077030(v18, a2, v11, ".dat.bak"); v14 = (const char *)v18; if ( v18[3] > 0xFu ) v14 = (const char *)v18[0]; RootSubDictFromCompressedFile = DS_Dictionary::loadRootSubDictFromCompressedFile(v5, v14, 1); sub_14003D310((__int64)v18); } sub_14003D310((__int64)v16); if ( RootSubDictFromCompressedFile ) LABEL_21: (*(void (__fastcall **)(__int64, DS_Dictionary *))(*(_QWORD *)a1 + 920LL))(a1, v5); else (*(void (__fastcall **)(__int64))(*(_QWORD *)a1 + 928LL))(a1); if ( v5 ) { DS_Dictionary::~DS_Dictionary(v5); j_j_free(v5); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source