//
// FMODMusic::operator= from 0x2ff1fc to 0x2ff224 (40 bytes)
//
// 5 xrefs:
// > FMODAudioEngine::preloadMusic @ 0x303478
// > FMODAudioEngine::swapMusicIndex @ 0x303a4a
// > FMODAudioEngine::swapMusicIndex @ 0x303a58
// > FMODAudioEngine::swapMusicIndex @ 0x303a78
// > FMODAudioEngine::swapMusicIndex @ 0x303a9e
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
int __fastcall FMODMusic::operator=(int a1, int *a2)
{
int v3; // r3
int v5; // r0
int *v6; // r1
v3 = *a2;
v5 = a1 + 8;
v6 = a2 + 2;
*(_DWORD *)(v5 - 8) = v3;
*(_DWORD *)(v5 - 4) = *(v6 - 1);
sub_775D40(v5, v6);
*(_BYTE *)(a1 + 12) = *((_BYTE *)a2 + 12);
*(_BYTE *)(a1 + 13) = *((_BYTE *)a2 + 13);
return a1;
}