//
// cocos2d::CCDictElement::CCDictElement from 0x180009650 to 0x1800096d7 (135 bytes)
//
// 3 xrefs:
// > cocos2d::CCDictionary::setObjectUnSafe @ 0x18000b98a
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b7c3c
//
// 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:19 +0000
//
cocos2d::CCDictElement *__fastcall cocos2d::CCDictElement::CCDictElement(
cocos2d::CCDictElement *this,
const char *Source,
struct cocos2d::CCObject *a3)
{
const char *v5; // rdi
int v6; // eax
*((_QWORD *)this + 32) = 0;
v5 = Source;
v6 = strlen(Source);
if ( v6 > 256 )
v5 = &v5[v6 - 256];
strcpy((char *)this, v5);
*((_QWORD *)this + 33) = a3;
*((_OWORD *)this + 17) = 0;
*((_OWORD *)this + 18) = 0;
*((_OWORD *)this + 19) = 0;
*((_QWORD *)this + 40) = 0;
return this;
}