//
// GJEditorSoundConfig::dataLoaded from 0x78df7c to 0x78e236 (698 bytes)
//
// 1 xrefs:
// > GJEditorSoundConfig::createWithCoder @ 0x78e2a2
//
// 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::dataLoaded(GJEditorSoundConfig *this, DS_Dictionary *a2)
{
_DWORD *v4; // r8
_DWORD *v5; // r9
int v6; // r1
int v7; // r2
int v8; // r0
int v9; // r1
int v10; // r2
int v11; // r0
int v12; // r1
int v13; // r2
int v14; // r0
int v15; // r1
int v16; // r2
int v17; // r0
int v18; // r1
int v19; // r2
int v21; // [sp+0h] [bp-14h] BYREF
int v22; // [sp+4h] [bp-10h]
int v23; // [sp+8h] [bp-Ch]
v4 = (_DWORD *)((char *)this + 324);
v5 = (_DWORD *)((char *)this + 336);
*((_DWORD *)this + 66) = DS_Dictionary::getIntegerForKey(a2, "k_es_id");
*((_DWORD *)this + 67) = DS_Dictionary::getIntegerForKey(a2, "k_es_lid");
*((_BYTE *)this + 272) = DS_Dictionary::getBoolForKey(a2, "k_es_au");
DS_Dictionary::getStringForKey((DS_Dictionary *)&v21, (const char *)a2);
if ( (*((_BYTE *)this + 324) & 1) != 0 )
{
**((_BYTE **)this + 83) = 0;
*((_DWORD *)this + 82) = 0;
}
else
{
*((_BYTE *)this + 325) = 0;
*((_BYTE *)this + 324) = 0;
}
std::string::reserve((int *)this + 81, 0);
v6 = v22;
v7 = v23;
*v4 = v21;
*((_DWORD *)this + 82) = v6;
*((_DWORD *)this + 83) = v7;
v21 = 0;
v22 = 0;
v23 = 0;
std::string::~string((int)&v21);
DS_Dictionary::getStringForKey((DS_Dictionary *)&v21, (const char *)a2);
if ( (*((_BYTE *)this + 336) & 1) != 0 )
{
**((_BYTE **)this + 86) = 0;
*((_DWORD *)this + 85) = 0;
}
else
{
*((_BYTE *)this + 337) = 0;
*((_BYTE *)this + 336) = 0;
}
std::string::reserve((int *)this + 84, 0);
v8 = v21;
v9 = v22;
v10 = v23;
v21 = 0;
v22 = 0;
v23 = 0;
*v5 = v8;
*((_DWORD *)this + 85) = v9;
*((_DWORD *)this + 86) = v10;
std::string::~string((int)&v21);
*((_DWORD *)this + 69) = DS_Dictionary::getIntegerForKey(a2, "k_es_ver");
*((_DWORD *)this + 70) = DS_Dictionary::getIntegerForKey(a2, "k_es_lver");
*((_DWORD *)this + 71) = DS_Dictionary::getIntegerForKey(a2, "k_es_orig");
*((_DWORD *)this + 72) = DS_Dictionary::getIntegerForKey(a2, "k_es_acc");
DS_Dictionary::getStringForKey((DS_Dictionary *)&v21, (const char *)a2);
if ( (*((_BYTE *)this + 360) & 1) != 0 )
{
**((_BYTE **)this + 92) = 0;
*((_DWORD *)this + 91) = 0;
}
else
{
*((_BYTE *)this + 361) = 0;
*((_BYTE *)this + 360) = 0;
}
std::string::reserve((int *)this + 90, 0);
v11 = v21;
v12 = v22;
v13 = v23;
v21 = 0;
v22 = 0;
v23 = 0;
*((_DWORD *)this + 90) = v11;
*((_DWORD *)this + 91) = v12;
*((_DWORD *)this + 92) = v13;
std::string::~string((int)&v21);
DS_Dictionary::getStringForKey((DS_Dictionary *)&v21, (const char *)a2);
if ( (*((_BYTE *)this + 372) & 1) != 0 )
{
**((_BYTE **)this + 95) = 0;
*((_DWORD *)this + 94) = 0;
}
else
{
*((_BYTE *)this + 373) = 0;
*((_BYTE *)this + 372) = 0;
}
std::string::reserve((int *)this + 93, 0);
v14 = v21;
v15 = v22;
v16 = v23;
v21 = 0;
v22 = 0;
v23 = 0;
*((_DWORD *)this + 93) = v14;
*((_DWORD *)this + 94) = v15;
*((_DWORD *)this + 95) = v16;
std::string::~string((int)&v21);
*((_DWORD *)this + 73) = DS_Dictionary::getIntegerForKey(a2, "k_es_dl");
*((_DWORD *)this + 74) = DS_Dictionary::getIntegerForKey(a2, "k_es_likes");
*((_BYTE *)this + 320) = DS_Dictionary::getBoolForKey(a2, "k_es_feat");
*((_DWORD *)this + 75) = DS_Dictionary::getIntegerForKey(a2, "k_es_count");
*((_DWORD *)this + 76) = DS_Dictionary::getIntegerForKey(a2, "k_es_sc");
*((_DWORD *)this + 77) = DS_Dictionary::getIntegerForKey(a2, "k_es_unl");
*((_DWORD *)this + 78) = DS_Dictionary::getIntegerForKey(a2, "k_es_up");
*((_DWORD *)this + 79) = DS_Dictionary::getIntegerForKey(a2, "k_es_upd");
*((_BYTE *)this + 384) = DS_Dictionary::getBoolForKey(a2, "k_es_hd");
*((_BYTE *)this + 385) = DS_Dictionary::getBoolForKey(a2, "k_es_liked");
DS_Dictionary::getStringForKey((DS_Dictionary *)&v21, (const char *)a2);
if ( (*((_BYTE *)this + 348) & 1) != 0 )
{
**((_BYTE **)this + 89) = 0;
*((_DWORD *)this + 88) = 0;
}
else
{
*((_BYTE *)this + 349) = 0;
*((_BYTE *)this + 348) = 0;
}
std::string::reserve((int *)this + 87, 0);
v17 = v21;
v18 = v22;
v19 = v23;
v21 = 0;
v22 = 0;
v23 = 0;
*((_DWORD *)this + 87) = v17;
*((_DWORD *)this + 88) = v18;
*((_DWORD *)this + 89) = v19;
return std::string::~string((int)&v21);
}