// // DS_Dictionary::setBoolMapForKey from 0x18001ea00 to 0x18001ec60 (608 bytes) // // 2 xrefs: // > @ 0x1801438a8 // > @ 0x1801aecbc // // 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=1 char __fastcall DS_Dictionary::setBoolMapForKey(DS_Dictionary *this, char *a2, __int64 **a3) { unsigned __int64 v6; // rax __int64 *v7; // rbx _OWORD *v8; // rbp unsigned __int64 v9; // rsi unsigned __int64 v10; // rax unsigned __int64 v11; // rdi size_t v12; // rax void *v13; // rax void *v14; // rcx char *v15; // rax char *v16; // rdx char *v17; // rcx __int64 **v18; // rax __int64 *i; // rax __int64 *j; // rcx char *v22[2]; // [rsp+20h] [rbp-68h] BYREF unsigned __int64 v23; // [rsp+30h] [rbp-58h] unsigned __int64 v24; // [rsp+38h] [rbp-50h] DS_Dictionary::setSubDictForKey(this, a2); LOBYTE(v6) = DS_Dictionary::stepIntoSubDictWithKey(this, a2); if ( (_BYTE)v6 ) { v7 = (__int64 *)**a3; if ( v7 != *a3 ) { while ( 1 ) { *(_OWORD *)v22 = 0; v23 = 0; v24 = 0; v8 = v7 + 4; if ( (unsigned __int64)v7[7] > 0xF ) v8 = (_OWORD *)v7[4]; v9 = v7[6]; if ( v9 > 0x7FFFFFFFFFFFFFFFLL ) std::vector::_Xlen(); if ( v9 > 0xF ) break; v23 = v7[6]; v10 = 15; v24 = 15; *(_OWORD *)v22 = *v8; LABEL_20: v16 = (char *)v22; if ( v10 > 0xF ) v16 = v22[0]; DS_Dictionary::setBoolForKey(this, v16, *((_BYTE *)v7 + 64), 0); if ( v24 > 0xF ) { v17 = v22[0]; if ( v24 + 1 >= 0x1000 ) { v17 = *((char **)v22[0] - 1); if ( (unsigned __int64)(v22[0] - v17 - 8) > 0x1F ) LABEL_37: invalid_parameter_noinfo_noreturn(); } j_j_free_0(v17); } v18 = (__int64 **)v7[2]; if ( *((_BYTE *)v18 + 25) ) { for ( i = (__int64 *)v7[1]; !*((_BYTE *)i + 25); i = (__int64 *)i[1] ) { if ( v7 != (__int64 *)i[2] ) break; v7 = i; } v7 = i; } else { v7 = (__int64 *)v7[2]; for ( j = *v18; !*((_BYTE *)j + 25); j = (__int64 *)*j ) v7 = j; } if ( v7 == *a3 ) goto LABEL_34; } v24 = 15; v11 = v9 | 0xF; if ( (v9 | 0xF) <= 0x7FFFFFFFFFFFFFFFLL ) { if ( v11 < 0x16 ) v11 = 22; if ( v11 + 1 < 0x1000 ) { if ( v11 == -1 ) v15 = nullptr; else v15 = (char *)operator new(v11 + 1); LABEL_19: v22[0] = v15; v23 = v9; v24 = v11; memcpy(v15, v8, v9 + 1); v10 = v24; goto LABEL_20; } v12 = v11 + 40; if ( v11 + 40 < v11 + 1 ) Concurrency::cancel_current_task(); } else { v11 = 0x7FFFFFFFFFFFFFFFLL; v12 = 0x8000000000000027uLL; } v13 = operator new(v12); v14 = v13; if ( !v13 ) goto LABEL_37; v15 = (char *)(((unsigned __int64)v13 + 39) & 0xFFFFFFFFFFFFFFE0uLL); *((_QWORD *)v15 - 1) = v14; goto LABEL_19; } LABEL_34: v6 = this->dictTree._Mypair._Myval2._Mylast - this->dictTree._Mypair._Myval2._Myfirst; if ( v6 > 1 ) --this->dictTree._Mypair._Myval2._Mylast; } return v6; }