//
// EditorSFXManager::attachUploadedSoundID from 0x77d5a2 to 0x77d5d0 (46 bytes)
//
// 1 xrefs:
// > EditorSoundConfigUploadPopup::uploadEditorSoundFinished @ 0x789278
//
// 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:24 +0000
//
int __fastcall EditorSFXManager::attachUploadedSoundID(cocos2d::CCArray **this, int a2, int a3)
{
int result; // r0
_DWORD *v5; // r4
int v6; // r3
result = EditorSFXManager::getMyConfig(this, a2);
v5 = (_DWORD *)result;
if ( result )
{
*(_DWORD *)(result + 264) = a3;
result = time(nullptr);
if ( !v5[78] )
v5[78] = result;
v6 = v5[69];
v5[79] = result;
v5[70] = v6;
}
return result;
}