// // DS_Dictionary::setSubDictForKey from 0x180020450 to 0x1800205f6 (422 bytes) // // 3 xrefs: // > DS_Dictionary::setObjectForKey @ 0x18001f65b // > @ 0x18014cf68 // > @ 0x1801b8e30 // // 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 11:21:28 +0000 // void __fastcall DS_Dictionary::setSubDictForKey(DS_Dictionary *this, char *a2, char a3, char a4) { const char *v8; // rsi const char *v9; // r8 char *v10; // rax const char *v11; // r8 __int64 *v12; // rax __int64 v13; // rax const char *v14; // r8 __int64 v15; // [rsp+20h] [rbp-38h] BYREF __int64 v16; // [rsp+28h] [rbp-30h] BYREF _BYTE v17[40]; // [rsp+30h] [rbp-28h] BYREF __int64 v18; // [rsp+60h] [rbp+8h] BYREF cocos2d::CCThread::CCThread((cocos2d::CCThread *)&v15); v8 = "k"; if ( !a3 ) goto LABEL_9; v9 = "k"; if ( *((_BYTE *)this + 232) ) v9 = "key"; sub_180082A40(*((_QWORD *)this + 27) - 8LL, &v18, v9); if ( sub_1800823F0(&v18) ) { while ( 1 ) { v10 = (char *)sub_180082AC0(&v18); if ( !sub_180018D00(v10, a2) ) break; v11 = "k"; if ( *((_BYTE *)this + 232) ) v11 = "key"; v18 = *(_QWORD *)sub_180084A40(&v18, v17, v11); if ( !sub_1800823F0(&v18) ) goto LABEL_9; } if ( *((_BYTE *)this + 232) ) v8 = "key"; v12 = (__int64 *)sub_180084060(*((_QWORD *)this + 27) - 8LL, v17, v8, &v18); } else { LABEL_9: if ( *((_BYTE *)this + 232) ) v8 = "key"; v12 = (__int64 *)sub_180082790(*((_QWORD *)this + 27) - 8LL, v17, v8); } v15 = *v12; v13 = sub_180082820(&v15, &v18, 3); sub_180088520(v13, a2); v14 = "d"; if ( *((_BYTE *)this + 232) ) v14 = "dict"; sub_180083ED0(*((_QWORD *)this + 27) - 8LL, &v16, v14, &v15); if ( a4 ) sub_18001C710((const void **)this + 26, &v16); }