//
// GJEditorSoundConfig::copyServerFields from 0x78dc44 to 0x78dcf0 (172 bytes)
//
// 2 xrefs:
// > EditorSoundConfigInfoLayer::downloadEditorSoundFinished @ 0x7862d4
// > EditorSoundConfigInfoLayer::downloadEditorSoundFinished @ 0x78630c
//
// 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
//
unsigned __int8 *__fastcall GJEditorSoundConfig::copyServerFields(unsigned __int8 *this, GJEditorSoundConfig *a2)
{
unsigned __int8 *v2; // r5
unsigned __int8 *v4; // r0
v2 = this;
if ( a2 )
{
v4 = this + 324;
*((_DWORD *)v4 - 15) = *((_DWORD *)a2 + 66);
std::string::operator=(v4, (unsigned __int8 *)a2 + 324);
std::string::operator=(v2 + 336, (unsigned __int8 *)a2 + 336);
*((_DWORD *)v2 + 69) = *((_DWORD *)a2 + 69);
*((_DWORD *)v2 + 72) = *((_DWORD *)a2 + 72);
std::string::operator=(v2 + 360, (unsigned __int8 *)a2 + 360);
*((_DWORD *)v2 + 73) = *((_DWORD *)a2 + 73);
*((_DWORD *)v2 + 74) = *((_DWORD *)a2 + 74);
v2[320] = *((_BYTE *)a2 + 320);
*((_DWORD *)v2 + 78) = *((_DWORD *)a2 + 78);
*((_DWORD *)v2 + 79) = *((_DWORD *)a2 + 79);
*((_DWORD *)v2 + 75) = *((_DWORD *)a2 + 75);
*((_DWORD *)v2 + 76) = *((_DWORD *)a2 + 76);
*((_DWORD *)v2 + 77) = *((_DWORD *)a2 + 77);
std::string::operator=(v2 + 372, (unsigned __int8 *)a2 + 372);
v2[384] = *((_BYTE *)a2 + 384);
return std::string::operator=(v2 + 348, (unsigned __int8 *)a2 + 348);
}
return this;
}