// // DS_Dictionary::stepIntoSubDictWithKey from 0x1800212a0 to 0x18002140a (362 bytes) // // 9 xrefs: // > DS_Dictionary::addBoolValuesToMapForKey @ 0x180018c11 // > DS_Dictionary::addBoolValuesToMapForKeySpecial @ 0x180018da3 // > DS_Dictionary::decodeObjectForKey @ 0x180019b25 // > DS_Dictionary::getArrayForKey @ 0x180019d4b // > DS_Dictionary::getDictForKey @ 0x180019fd2 // > DS_Dictionary::setBoolMapForKey @ 0x18001ea37 // > DS_Dictionary::setDictForKey @ 0x18001ecad // > @ 0x1801438a8 // > @ 0x1801aeddc // // 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 // char __fastcall DS_Dictionary::stepIntoSubDictWithKey(DS_Dictionary *this, const char *a2) { bool v2; // zf const char *v4; // r8 std::_Vector_val>::pointer Mylast; // rcx __int64 v7; // rax const char *v8; // r8 int v9; // ecx int v10; // edx __int64 v11; // rax const char *v12; // rcx __int64 v13; // rax int v14; // edx int v15; // r8d const char *v16; // r8 std::_Vector_val>::pointer v18; // rdx __int64 v19; // [rsp+40h] [rbp+8h] BYREF pugi::xml_node_struct *v20; // [rsp+50h] [rbp+18h] BYREF char v21; // [rsp+58h] [rbp+20h] BYREF v2 = !this->compatible; v4 = "k"; Mylast = this->dictTree._Mypair._Myval2._Mylast; if ( !v2 ) v4 = "key"; sub_18007FB10(&Mylast[-1], &v19, v4); if ( !sub_18007F4E0(&v19) ) return 0; while ( 1 ) { v7 = sub_18007FB70(&v19); v8 = &a2[-v7]; do { v9 = (unsigned __int8)v8[v7]; v10 = *(unsigned __int8 *)v7 - v9; if ( v10 ) break; ++v7; } while ( v9 ); if ( !v10 ) { sub_180081AB0(&v19, &v20); v11 = sub_180081A30(&v20); v12 = "d"; if ( this->compatible ) v12 = "dict"; v13 = v11 - (_QWORD)v12; do { v14 = (unsigned __int8)v12[v13]; v15 = *(unsigned __int8 *)v12 - v14; if ( v15 ) break; ++v12; } while ( v14 ); if ( !v15 ) break; } v16 = "k"; if ( this->compatible ) v16 = "key"; v19 = *(_QWORD *)sub_180081A50(&v19, &v21, v16); if ( !sub_18007F4E0(&v19) ) return 0; } v18 = this->dictTree._Mypair._Myval2._Mylast; if ( v18 == this->dictTree._Mypair._Myval2._Myend ) { sub_180015D80((const void **)&this->dictTree._Mypair._Myval2._Myfirst, v18, &v20); } else { v18->_root = v20; ++this->dictTree._Mypair._Myval2._Mylast; } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source