//
// GJEditorSoundConfig::dataLoaded from 0x1004de360 to 0x1004de5f4 (660 bytes)
//
// 1 xrefs:
// > GJEditorSoundConfig::createWithCoder @ 0x1004de34c
//
// This function is hookable on this platform (idp: arm, 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:06:35 +0000
//
double __fastcall GJEditorSoundConfig::dataLoaded(__int64 a1, __int64 a2)
{
void **v4; // x21
void **v5; // x21
void **v6; // x20
double result; // d0
__int128 v8; // [xsp+8h] [xbp-38h] BYREF
__int64 v9; // [xsp+18h] [xbp-28h]
*(_DWORD *)(a1 + 316) = DS_Dictionary::getIntegerForKey(a2, "k_es_id");
*(_DWORD *)(a1 + 320) = DS_Dictionary::getIntegerForKey(a2, "k_es_lid");
*(_BYTE *)(a1 + 324) = DS_Dictionary::getBoolForKey(a2, "k_es_au");
DS_Dictionary::getStringForKey(a2, "k_es_name", &v8);
v4 = (void **)(a1 + 376);
if ( *(char *)(a1 + 399) < 0 )
operator delete(*v4);
*(_OWORD *)v4 = v8;
*(_QWORD *)(a1 + 392) = v9;
DS_Dictionary::getStringForKey(a2, "k_es_desc", &v8);
if ( *(char *)(a1 + 423) < 0 )
operator delete(*(void **)(a1 + 400));
*(_OWORD *)(a1 + 400) = v8;
*(_QWORD *)(a1 + 416) = v9;
*(_DWORD *)(a1 + 328) = DS_Dictionary::getIntegerForKey(a2, "k_es_ver");
*(_DWORD *)(a1 + 332) = DS_Dictionary::getIntegerForKey(a2, "k_es_lver");
*(_DWORD *)(a1 + 336) = DS_Dictionary::getIntegerForKey(a2, "k_es_orig");
*(_DWORD *)(a1 + 340) = DS_Dictionary::getIntegerForKey(a2, "k_es_acc");
DS_Dictionary::getStringForKey(a2, "k_es_user", &v8);
if ( *(char *)(a1 + 471) < 0 )
operator delete(*(void **)(a1 + 448));
*(_OWORD *)(a1 + 448) = v8;
*(_QWORD *)(a1 + 464) = v9;
DS_Dictionary::getStringForKey(a2, "k_es_data", &v8);
v5 = (void **)(a1 + 472);
if ( *(char *)(a1 + 495) < 0 )
operator delete(*v5);
*(_OWORD *)v5 = v8;
*(_QWORD *)(a1 + 488) = v9;
*(_DWORD *)(a1 + 344) = DS_Dictionary::getIntegerForKey(a2, "k_es_dl");
*(_DWORD *)(a1 + 348) = DS_Dictionary::getIntegerForKey(a2, "k_es_likes");
*(_BYTE *)(a1 + 372) = DS_Dictionary::getBoolForKey(a2, "k_es_feat");
*(_DWORD *)(a1 + 352) = DS_Dictionary::getIntegerForKey(a2, "k_es_count");
*(_DWORD *)(a1 + 356) = DS_Dictionary::getIntegerForKey(a2, "k_es_sc");
*(_DWORD *)(a1 + 360) = DS_Dictionary::getIntegerForKey(a2, "k_es_unl");
*(_DWORD *)(a1 + 364) = DS_Dictionary::getIntegerForKey(a2, "k_es_up");
*(_DWORD *)(a1 + 368) = DS_Dictionary::getIntegerForKey(a2, "k_es_upd");
*(_BYTE *)(a1 + 496) = DS_Dictionary::getBoolForKey(a2, "k_es_hd");
*(_BYTE *)(a1 + 497) = DS_Dictionary::getBoolForKey(a2, "k_es_liked");
DS_Dictionary::getStringForKey(a2, "k_es_emote", &v8);
v6 = (void **)(a1 + 424);
if ( *(char *)(a1 + 447) < 0 )
operator delete(*v6);
result = *(double *)&v8;
*(_OWORD *)v6 = v8;
*(_QWORD *)(a1 + 440) = v9;
return result;
}