//
// FMODMusic::operator= from 0x3e943e to 0x3e9466 (40 bytes)
//
// 5 xrefs:
// > FMODAudioEngine::swapMusicIndex @ 0x3eea1e
// > FMODAudioEngine::swapMusicIndex @ 0x3eea2c
// > FMODAudioEngine::swapMusicIndex @ 0x3eea4c
// > FMODAudioEngine::swapMusicIndex @ 0x3eea72
// > FMODAudioEngine::preloadMusic @ 0x3efa0a
//
// 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:47:06 +0000
//
unsigned __int8 *__fastcall FMODMusic::operator=(unsigned __int8 *a1, int *a2)
{
int v3; // r3
unsigned __int8 *v5; // r0
unsigned __int8 *v6; // r1
v3 = *a2;
v5 = a1 + 8;
v6 = (unsigned __int8 *)(a2 + 2);
*((_DWORD *)v5 - 2) = v3;
*((_DWORD *)v5 - 1) = *((_DWORD *)v6 - 1);
std::string::operator=(v5, v6);
a1[20] = *((_BYTE *)a2 + 20);
a1[21] = *((_BYTE *)a2 + 21);
return a1;
}