// // GManager::loadDataFromFile from 0x14006aac0 to 0x14006ac2d (365 bytes) // // 2 xrefs: // > GManager::setup @ 0x14006a80e // > @ 0x1406c5f70 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // // 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] char v16[24]; // [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) ) goto LABEL_21; v8 = a2; if ( *((_QWORD *)a2 + 3) > 0xFu ) v8 = *(char **)a2; sub_14006A5A0(v16, v8, v7, "2.dat"); v9 = v16; if ( v17 > 0xF ) v9 = *(const char **)v16; RootSubDictFromCompressedFile = DS_Dictionary::loadRootSubDictFromCompressedFile(v5, v9); v12 = *((_QWORD *)a2 + 3); if ( RootSubDictFromCompressedFile ) { if ( v12 > 0xF ) a2 = *(char **)a2; v13 = v16; if ( v17 > 0xF ) v13 = *(const char **)v16; DS_Dictionary::copyFile(v13, a2); } else { if ( v12 > 0xF ) a2 = *(char **)a2; sub_14006A5A0((char *)v18, a2, v11, ".dat.bak"); v14 = (const char *)v18; if ( v18[3] > 0xFu ) v14 = (const char *)v18[0]; RootSubDictFromCompressedFile = DS_Dictionary::loadRootSubDictFromCompressedFile(v5, v14); sub_14003A830((__int64)v18); } sub_14003A830((__int64)v16); if ( RootSubDictFromCompressedFile ) LABEL_21: (*(void (__fastcall **)(__int64, DS_Dictionary *))(*(_QWORD *)a1 + 888LL))(a1, v5); else (*(void (__fastcall **)(__int64))(*(_QWORD *)a1 + 896LL))(a1); if ( v5 ) { DS_Dictionary::~DS_Dictionary(v5); j_j_free(v5); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source