//
// EditorSFXManager::attachUploadedSoundID from 0xcbfee0 to 0xcbff34 (84 bytes)
//
// 2 xrefs:
// > EditorSoundConfigUploadPopup::uploadEditorSoundFinished @ 0xcd4774
// > ??> @ 0xd6498
//
// 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 13:06:16 +0000
//
time_t __fastcall EditorSFXManager::attachUploadedSoundID(EditorSFXManager *this, int a2, int a3)
{
time_t result; // x0
_DWORD *v4; // x19
int v5; // w1
result = EditorSFXManager::getMyConfig(this, a2);
v4 = (_DWORD *)result;
if ( result )
{
*(_DWORD *)(result + 316) = a3;
result = time(nullptr);
if ( !v4[91] )
v4[91] = result;
v5 = v4[82];
v4[92] = result;
v4[83] = v5;
}
return result;
}