// // DS_Dictionary::setVec2ForKey from 0x10017f420 to 0x10017f6c4 (676 bytes) // // 1 xrefs: // > DS_Dictionary::setVec2ForKey_1 @ 0x10017f417 // // 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 // void __fastcall DS_Dictionary::setVec2ForKey(DS_Dictionary *a1, const char *a2, const cocos2d::CCPoint *a3, bool 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 v15[2]; // [rsp+0h] [rbp-170h] BYREF __int64 (__fastcall **v16)(); // [rsp+10h] [rbp-160h] BYREF void (__cdecl **v17)(std::streambuf *__hidden); // [rsp+18h] [rbp-158h] BYREF std::locale v18; // [rsp+20h] [rbp-150h] BYREF char v19; // [rsp+58h] [rbp-118h] void *v20; // [rsp+68h] [rbp-108h] __int64 (__fastcall **v21)(); // [rsp+80h] [rbp-F0h] BYREF __int64 v22; // [rsp+118h] [rbp-58h] BYREF __int64 v23; // [rsp+120h] [rbp-50h] BYREF _QWORD v24[2]; // [rsp+128h] [rbp-48h] BYREF void *__p; // [rsp+138h] [rbp-38h] _QWORD v26[6]; // [rsp+140h] [rbp-30h] BYREF sub_10017F730(v15); sub_100183CF0(&v16, "{", 1); std::ostream::operator<<(&v16, a3->x); sub_100183CF0(&v16, ",", 1); std::ostream::operator<<(&v16, a3->y); sub_100183CF0(&v16, "}", 1); DS_Dictionary::removeKey_1(a1, a2); pugi::xml_node::xml_node(v26); v7 = "k"; if ( a4 ) { v8 = "k"; if ( a1->compatible ) v8 = "key"; for ( i = sub_10063B550(&a1->dictTree.__end_[-1], v8); ; i = sub_10063B730(v24, v11) ) { v24[0] = i; if ( !sub_10063B3F0(v24) ) break; v10 = (char *)sub_10063B880(v24); if ( !sub_1001796D0(v10, (char *)a2) ) { if ( a1->compatible ) v7 = "key"; v12 = sub_10063C8D0(&a1->dictTree.__end_[-1], v7, v24); goto LABEL_16; } v11 = "k"; if ( a1->compatible ) v11 = "key"; } } if ( a1->compatible ) v7 = "key"; v12 = sub_10063C660(&a1->dictTree.__end_[-1], v7); LABEL_16: v26[0] = v12; v24[0] = sub_10063C150(v26, 3); sub_10063BA40(v24, a2); v13 = "s"; if ( a1->compatible ) v13 = "string"; v23 = sub_10063C7D0(&a1->dictTree.__end_[-1], v13, v26); v22 = sub_10063C150(&v23, 3); sub_1001837B0(v24, &v17); if ( (v24[0] & 1) != 0 ) v14 = (char *)__p; else v14 = (char *)v24 + 1; sub_10063BA40(&v22, v14); if ( (v24[0] & 1) != 0 ) operator delete(__p); v15[0] = &off_1008C3D68; v21 = off_1008C3DB8; v16 = off_1008C3D90; v17 = (void (__cdecl **)(std::streambuf *__hidden))&off_1008C3F58; if ( (v19 & 1) != 0 ) operator delete(v20); v17 = &`vtable for'std::streambuf.~basic_streambuf; std::locale::~locale(&v18); std::iostream::~iostream(v15, off_1008C3DD0); std::ios::~ios(&v21); }
GD Web Decomp Icon

GD Web Decomp

Raw Source