// // DS_Dictionary::setVec2ForKey from 0x10015e810 to 0x10015eab4 (676 bytes) // // 1 xrefs: // > DS_Dictionary::setVec2ForKey_1 @ 0x10015e807 // // 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 12:25:07 +0000 // __int64 __fastcall DS_Dictionary::setVec2ForKey(__int64 a1, char *a2, float *a3, char a4) { const char *v7; // r15 const char *v8; // rsi __int64 i; // rax char *v10; // rax const char *v11; // rsi __int64 v12; // rax const char *v13; // rsi char *v14; // rsi _QWORD v16[2]; // [rsp+0h] [rbp-170h] BYREF __int64 (__fastcall **v17)(); // [rsp+10h] [rbp-160h] BYREF void (__cdecl **v18)(std::streambuf *__hidden); // [rsp+18h] [rbp-158h] BYREF std::locale v19; // [rsp+20h] [rbp-150h] BYREF char v20; // [rsp+58h] [rbp-118h] void *v21; // [rsp+68h] [rbp-108h] __int64 (__fastcall **v22)(); // [rsp+80h] [rbp-F0h] BYREF __int64 v23; // [rsp+118h] [rbp-58h] BYREF __int64 v24; // [rsp+120h] [rbp-50h] BYREF _QWORD v25[2]; // [rsp+128h] [rbp-48h] BYREF void *__p; // [rsp+138h] [rbp-38h] _QWORD v27[6]; // [rsp+140h] [rbp-30h] BYREF sub_10015EB20(v16); sub_1001630E0(&v17, "{", 1); std::ostream::operator<<(&v17, *a3); sub_1001630E0(&v17, ",", 1); std::ostream::operator<<(&v17, a3[1]); sub_1001630E0(&v17, "}", 1); DS_Dictionary::removeKey_1(a1, a2); pugi::xml_node::xml_node(v27); v7 = "k"; if ( a4 ) { v8 = "k"; if ( *(_BYTE *)(a1 + 232) ) v8 = "key"; for ( i = sub_100718180(*(_QWORD *)(a1 + 216) - 8LL, v8); ; i = sub_100718360(v25, v11) ) { v25[0] = i; if ( !sub_100718020(v25) ) break; v10 = (char *)sub_1007184B0(v25); if ( !sub_100158A80(v10, a2) ) { if ( *(_BYTE *)(a1 + 232) ) v7 = "key"; v12 = sub_100719500(*(_QWORD *)(a1 + 216) - 8LL, v7, v25); goto LABEL_16; } v11 = "k"; if ( *(_BYTE *)(a1 + 232) ) v11 = "key"; } } if ( *(_BYTE *)(a1 + 232) ) v7 = "key"; v12 = sub_100719290(*(_QWORD *)(a1 + 216) - 8LL, v7); LABEL_16: v27[0] = v12; v25[0] = sub_100718D80(v27, 3); sub_100718670(v25, a2); v13 = "s"; if ( *(_BYTE *)(a1 + 232) ) v13 = "string"; v24 = sub_100719400(*(_QWORD *)(a1 + 216) - 8LL, v13, v27); v23 = sub_100718D80(&v24, 3); sub_100162BA0(v25, &v18); if ( (v25[0] & 1) != 0 ) v14 = (char *)__p; else v14 = (char *)v25 + 1; sub_100718670(&v23, v14); if ( (v25[0] & 1) != 0 ) operator delete(__p); v16[0] = &off_100B6FF38; v22 = off_100B6FF88; v17 = off_100B6FF60; v18 = (void (__cdecl **)(std::streambuf *__hidden))&off_100BB1EA0; if ( (v20 & 1) != 0 ) operator delete(v21); v18 = &`vtable for'std::streambuf.~basic_streambuf; std::locale::~locale(&v19); std::iostream::~iostream(v16, off_100BB1DC8); return std::ios::~ios(&v22); }