//
// std::vector>::clear from 0x45a6ac to 0x45a6c8 (28 bytes)
//
// 6 xrefs:
// > MusicDownloadManager::parseMusicLibrary @ 0x45cebe
// > MusicDownloadManager::parseMusicLibrary @ 0x45d026
// > MusicDownloadManager::parseMusicLibrary @ 0x45d2e4
// > cocos2d::CCFileUtils::removeAllPaths @ 0x5dee0c
// > cocos2d::CCFileUtils::setSearchPaths @ 0x5dff3c
// > cocos2d::CCFileUtils::setSearchResolutionsOrder @ 0x5e0152
//
// 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
//
_DWORD *__fastcall std::vector::clear(_DWORD *result)
{
_DWORD *v1; // r5
int v2; // r6
int v3; // r7
int i; // r4
int v5; // r0
v1 = result;
v2 = *result;
v3 = result[1];
for ( i = *result; i != v3; i += 4 )
{
v5 = i;
result = (_DWORD *)sub_774008(v5);
}
v1[1] = v2;
return result;
}