//
// cocos2d::CCDictMaker::CCDictMaker from 0x5e0290 to 0x5e0422 (402 bytes)
//
// 2 xrefs:
// > cocos2d::CCFileUtils::createCCDictionaryWithContentsOfFile @ 0x5e045a
// > cocos2d::CCFileUtils::createCCArrayWithContentsOfFile @ 0x5e04e6
//
// 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
//
// Alternative name is '_ZN7cocos2d11CCDictMakerC1Ev'
cocos2d::CCDictMaker *__fastcall cocos2d::CCDictMaker::CCDictMaker(cocos2d::CCDictMaker *this)
{
int v2; // r3
int v3; // r2
int v4; // r2
int v5; // r2
int v6; // r2
int v7; // r2
int v8; // r2
int v10; // [sp+4h] [bp+0h] BYREF
int v11; // [sp+8h] [bp+4h]
int v12; // [sp+Ch] [bp+8h] BYREF
int v13; // [sp+10h] [bp+Ch]
int v14; // [sp+14h] [bp+10h]
int v15; // [sp+18h] [bp+14h]
int v16; // [sp+1Ch] [bp+18h] BYREF
int v17; // [sp+20h] [bp+1Ch]
int v18; // [sp+24h] [bp+20h]
int v19; // [sp+28h] [bp+24h]
int v20; // [sp+2Ch] [bp+28h]
*((_DWORD *)this + 1) = 0;
*((_DWORD *)this + 2) = 0;
v2 = _stack_chk_guard;
*((_DWORD *)this + 3) = 0;
*((_DWORD *)this + 4) = 0;
v20 = v2;
v10 = 0;
v11 = 0;
*(_DWORD *)this = &off_AAD0B0;
v12 = 0;
v13 = 0;
v14 = 0;
v15 = 0;
v16 = 0;
v17 = 0;
v18 = 0;
v19 = 0;
std::_Deque_base::_M_initialize_map(&v10, 0);
*((_DWORD *)this + 5) = 0;
*((_DWORD *)this + 6) = 0;
*((_DWORD *)this + 7) = 0;
*((_DWORD *)this + 8) = 0;
*((_DWORD *)this + 9) = 0;
*((_DWORD *)this + 10) = 0;
*((_DWORD *)this + 11) = 0;
*((_DWORD *)this + 12) = 0;
*((_DWORD *)this + 13) = 0;
*((_DWORD *)this + 14) = 0;
std::_Deque_base::_M_initialize_map((_DWORD *)this + 5, 0);
if ( v10 )
{
std::swap>(
(int *)this + 7,
&v12);
std::swap>(
(int *)this + 11,
&v16);
v3 = v10;
v10 = *((_DWORD *)this + 5);
*((_DWORD *)this + 5) = v3;
v4 = v11;
v11 = *((_DWORD *)this + 6);
*((_DWORD *)this + 6) = v4;
}
std::deque::~deque((int)&v10);
*((_DWORD *)this + 17) = 0;
*((_DWORD *)this + 18) = 0;
*((_DWORD *)this + 15) = &unk_ACDDA8;
*((_DWORD *)this + 16) = &unk_ACDDA8;
v10 = 0;
v11 = 0;
v12 = 0;
v13 = 0;
v14 = 0;
v15 = 0;
v16 = 0;
v17 = 0;
v18 = 0;
v19 = 0;
std::_Deque_base::_M_initialize_map(&v10, 0);
*((_DWORD *)this + 19) = 0;
*((_DWORD *)this + 20) = 0;
*((_DWORD *)this + 21) = 0;
*((_DWORD *)this + 22) = 0;
*((_DWORD *)this + 23) = 0;
*((_DWORD *)this + 24) = 0;
*((_DWORD *)this + 25) = 0;
*((_DWORD *)this + 26) = 0;
*((_DWORD *)this + 27) = 0;
*((_DWORD *)this + 28) = 0;
std::_Deque_base::_M_initialize_map((_DWORD *)this + 19, 0);
if ( v10 )
{
std::swap>((int *)this + 21, &v12);
std::swap>((int *)this + 25, &v16);
v5 = v10;
v10 = *((_DWORD *)this + 19);
*((_DWORD *)this + 19) = v5;
v6 = v11;
v11 = *((_DWORD *)this + 20);
*((_DWORD *)this + 20) = v6;
}
std::deque::~deque((int)&v10);
v10 = 0;
v11 = 0;
v12 = 0;
v13 = 0;
v14 = 0;
v15 = 0;
v16 = 0;
v17 = 0;
v18 = 0;
v19 = 0;
std::_Deque_base::_M_initialize_map(&v10, 0);
*((_DWORD *)this + 29) = 0;
*((_DWORD *)this + 30) = 0;
*((_DWORD *)this + 31) = 0;
*((_DWORD *)this + 32) = 0;
*((_DWORD *)this + 33) = 0;
*((_DWORD *)this + 34) = 0;
*((_DWORD *)this + 35) = 0;
*((_DWORD *)this + 36) = 0;
*((_DWORD *)this + 37) = 0;
*((_DWORD *)this + 38) = 0;
std::_Deque_base::_M_initialize_map((_DWORD *)this + 29, 0);
if ( v10 )
{
std::swap>(
(int *)this + 31,
&v12);
std::swap>(
(int *)this + 35,
&v16);
v7 = v10;
v10 = *((_DWORD *)this + 29);
*((_DWORD *)this + 29) = v7;
v8 = v11;
v11 = *((_DWORD *)this + 30);
*((_DWORD *)this + 30) = v8;
}
std::_Deque_base::~_Deque_base((int)&v10);
return this;
}