//
// GJEditorSoundConfig::create from 0x78d7b0 to 0x78dc00 (1104 bytes)
//
// 2 xrefs:
// > GameLevelManager::onDownloadEditorSoundCompleted @ 0x4c38dc
// > GameLevelManager::createAndGetEditorSoundConfigs @ 0x4c39e4
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:59:39 +0000
//
int __fastcall GJEditorSoundConfig::create(GJEditorSoundConfig *this, cocos2d::CCDictionary *a2)
{
int v3; // r5
cocos2d::CCString *v4; // r0
cocos2d::CCString *v5; // r0
const char *CString; // r10
size_t v7; // r0
cocos2d::CCString *v8; // r0
const char *v9; // r10
size_t v10; // r0
cocos2d::CCString *v11; // r0
cocos2d::CCString *v12; // r0
cocos2d::CCString *v13; // r0
const char *v14; // r10
size_t v15; // r0
cocos2d::CCString *v16; // r0
cocos2d::CCString *v17; // r0
cocos2d::CCString *v18; // r0
cocos2d::CCString *v19; // r0
cocos2d::CCString *v20; // r0
cocos2d::CCString *v21; // r0
cocos2d::CCString *v22; // r0
cocos2d::CCString *v23; // r0
cocos2d::CCString *v24; // r0
const char *v25; // r10
size_t v26; // r0
cocos2d::CCString *v27; // r0
const char *v28; // r6
size_t v29; // r0
int v30; // r3
int v32; // [sp+4h] [bp-1Ch] BYREF
int v33; // [sp+8h] [bp-18h]
int v34; // [sp+Ch] [bp-14h]
int v35; // [sp+10h] [bp-10h] BYREF
int v36; // [sp+14h] [bp-Ch]
int v37; // [sp+18h] [bp-8h]
v3 = GJEditorSoundConfig::create(this);
if ( v3 && this )
{
v35 = 0;
v36 = 0;
v37 = 0;
std::string::__init(&v35, a1i2r3e45s789g, 1u);
v4 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v35);
*(_DWORD *)(v3 + 264) = cocos2d::CCString::intValue(v4);
std::string::~string((int)&v35);
v32 = 0;
v33 = 0;
v34 = 0;
std::string::__init(&v32, &a1i2r3e45s789g[2], 1u);
v5 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v32);
CString = (const char *)cocos2d::CCString::getCString(v5);
v35 = 0;
v36 = 0;
v37 = 0;
v7 = strlen(CString);
std::string::__init(&v35, CString, v7);
std::string::operator=((unsigned __int8 *)(v3 + 324), (unsigned __int8 *)&v35);
std::string::~string((int)&v35);
std::string::~string((int)&v32);
v32 = 0;
v33 = 0;
v34 = 0;
std::string::__init(&v32, &a1i2r3e45s789g[4], 1u);
v8 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v32);
v9 = (const char *)cocos2d::CCString::getCString(v8);
v35 = 0;
v36 = 0;
v37 = 0;
v10 = strlen(v9);
std::string::__init(&v35, v9, v10);
std::string::operator=((unsigned __int8 *)(v3 + 336), (unsigned __int8 *)&v35);
std::string::~string((int)&v35);
std::string::~string((int)&v32);
v35 = 0;
v36 = 0;
v37 = 0;
std::string::__init(&v35, &a1i2r3e45s789g[7], 1u);
v11 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v35);
*(_DWORD *)(v3 + 276) = cocos2d::CCString::intValue(v11);
std::string::~string((int)&v35);
v35 = 0;
v36 = 0;
v37 = 0;
std::string::__init(&v35, "49", 2u);
v12 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v35);
*(_DWORD *)(v3 + 288) = cocos2d::CCString::intValue(v12);
std::string::~string((int)&v35);
v32 = 0;
v33 = 0;
v34 = 0;
std::string::__init(&v32, "50", 2u);
v13 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v32);
v14 = (const char *)cocos2d::CCString::getCString(v13);
v35 = 0;
v36 = 0;
v37 = 0;
v15 = strlen(v14);
std::string::__init(&v35, v14, v15);
std::string::operator=((unsigned __int8 *)(v3 + 360), (unsigned __int8 *)&v35);
std::string::~string((int)&v35);
std::string::~string((int)&v32);
v35 = 0;
v36 = 0;
v37 = 0;
std::string::__init(&v35, "10", 2u);
v16 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v35);
*(_DWORD *)(v3 + 292) = cocos2d::CCString::intValue(v16);
std::string::~string((int)&v35);
v35 = 0;
v36 = 0;
v37 = 0;
std::string::__init(&v35, "14", 2u);
v17 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v35);
*(_DWORD *)(v3 + 296) = cocos2d::CCString::intValue(v17);
std::string::~string((int)&v35);
v35 = 0;
v36 = 0;
v37 = 0;
std::string::__init(&v35, "19", 2u);
v18 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v35);
*(_BYTE *)(v3 + 320) = cocos2d::CCString::boolValue(v18);
std::string::~string((int)&v35);
v35 = 0;
v36 = 0;
v37 = 0;
std::string::__init(&v35, "28", 2u);
v19 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v35);
*(_DWORD *)(v3 + 312) = cocos2d::CCString::intValue(v19);
std::string::~string((int)&v35);
v35 = 0;
v36 = 0;
v37 = 0;
std::string::__init(&v35, "29", 2u);
v20 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v35);
*(_DWORD *)(v3 + 316) = cocos2d::CCString::intValue(v20);
std::string::~string((int)&v35);
v35 = 0;
v36 = 0;
v37 = 0;
std::string::__init(&v35, "59", 2u);
v21 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v35);
*(_DWORD *)(v3 + 300) = cocos2d::CCString::intValue(v21);
std::string::~string((int)&v35);
v35 = 0;
v36 = 0;
v37 = 0;
std::string::__init(&v35, "60", 2u);
v22 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v35);
*(_DWORD *)(v3 + 304) = cocos2d::CCString::intValue(v22);
std::string::~string((int)&v35);
v35 = 0;
v36 = 0;
v37 = 0;
std::string::__init(&v35, "61", 2u);
v23 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v35);
*(_DWORD *)(v3 + 308) = cocos2d::CCString::intValue(v23);
std::string::~string((int)&v35);
v32 = 0;
v33 = 0;
v34 = 0;
std::string::__init(&v32, "64", 2u);
v24 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v32);
v25 = (const char *)cocos2d::CCString::getCString(v24);
v35 = 0;
v36 = 0;
v37 = 0;
v26 = strlen(v25);
std::string::__init(&v35, v25, v26);
std::string::operator=((unsigned __int8 *)(v3 + 348), (unsigned __int8 *)&v35);
std::string::~string((int)&v35);
std::string::~string((int)&v32);
v35 = 0;
v36 = 0;
v37 = 0;
std::string::__init(&v35, "51", 2u);
v27 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(this, &v35);
v28 = (const char *)cocos2d::CCString::getCString(v27);
v32 = 0;
v33 = 0;
v34 = 0;
v29 = strlen(v28);
std::string::__init(&v32, v28, v29);
std::string::~string((int)&v35);
std::string::basic_string(&v35, (int)&v32);
std::string::operator=((unsigned __int8 *)(v3 + 372), (unsigned __int8 *)&v35);
std::string::~string((int)&v35);
if ( (v32 & 1) != 0 )
v30 = v33;
else
v30 = (int)(unsigned __int8)v32 >> 1;
*(_BYTE *)(v3 + 384) = v30 != 0;
std::string::~string((int)&v32);
}
return v3;
}