//
// MusicSearchResult::dMusicSearchResult from 0x100599040 to 0x100599089 (73 bytes)
//
// 0 xrefs:
//
// 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
//
cocos2d::CCScriptEngineManager *__fastcall MusicSearchResult::dMusicSearchResult(__int64 a1)
{
cocos2d::CCObject *v2; // rdi
*(_QWORD *)a1 = off_100970938;
*(_QWORD *)(a1 + 56) = &off_1009709A8;
v2 = *(cocos2d::CCObject **)(a1 + 64);
if ( v2 )
cocos2d::CCObject::release(v2);
if ( (*(_BYTE *)(a1 + 96) & 1) != 0 )
operator delete(*(void **)(a1 + 112));
return cocos2d::CCObject::dCCObject((cocos2d::CCObject *)a1);
}