// // DS_Dictionary::loadRootSubDictFromString from 0x80cf10 to 0x80cfda (202 bytes) // // 3 xrefs: // > GManager::loadFromString @ 0x3d40de // > sub_4B5ADC @ 0x4b5b44 // > GJGameLevel::createFromFullSaveString @ 0x4cc5bc // // 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 12:01:33 +0000 // int __fastcall DS_Dictionary::loadRootSubDictFromString(int *a1, unsigned __int8 *a2) { int v4; // r3 int v5; // r3 int v6; // r6 int v7; // r2 int v8; // r3 _DWORD *v9; // r3 int v10; // r3 int v11; // r2 int v12; // r3 int v13; // r7 int v15; // [sp+Ch] [bp-18h] BYREF _DWORD v16[3]; // [sp+10h] [bp-14h] BYREF v4 = *a2; if ( (v4 & 1) != 0 ) v5 = *((_DWORD *)a2 + 1); else v5 = v4 >> 1; if ( !v5 ) return 0; v7 = a1[50]; while ( 1 ) { v8 = a1[51]; if ( v7 == v8 ) break; a1[51] = v8 - 4; } pugi::xml_node::xml_node((pugi::xml_node *)v16); v9 = (_DWORD *)a1[51]; if ( (unsigned int)v9 >= a1[52] ) { std::vector::__push_back_slow_path(a1 + 50, v16); } else { if ( v9 ) *v9 = v16[0]; a1[51] += 4; } v10 = *a2; if ( (v10 & 1) != 0 ) { v11 = *((_DWORD *)a2 + 2); v12 = *((_DWORD *)a2 + 1); } else { v11 = (int)(a2 + 1); v12 = v10 >> 1; } pugi::xml_document::load_buffer((int)v16, (pugi::xml_document *)a1, v11, v12, 116, 0); v6 = pugi::xml_parse_result::operator bool(v16); if ( !v6 ) return 0; v13 = a1[51]; v15 = pugi::xml_node::child((pugi::xml_node *)a1, "plist"); *(_DWORD *)(v13 - 4) = pugi::xml_node::child((pugi::xml_node *)&v15, "dict"); DS_Dictionary::checkCompatibility((DS_Dictionary *)a1); return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source