//
// SFXSearchResult::create from 0x82ed18 to 0x82edf4 (220 bytes)
//
// 3 xrefs:
// > SFXBrowser::setupSFXBrowser @ 0xa5dd98
// > SFXBrowser::cellPerformedAction @ 0xa5f104
// > ??> @ 0x6e958
//
// 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
//
SFXSearchResult *SFXSearchResult::create(int a1)
{
__int64 v2; // x19
v2 = operator new(0x80u);
cocos2d::CCObject::CCObject((cocos2d::CCObject *)v2);
*(_QWORD *)(v2 + 64) = 0;
*(_QWORD *)(v2 + 72) = 0;
*(_QWORD *)(v2 + 80) = 0;
*(_DWORD *)(v2 + 88) = 0;
*(_DWORD *)(v2 + 92) = 0;
*(_DWORD *)(v2 + 104) = 0;
*(_QWORD *)(v2 + 96) = &byte_124B6C8;
*(_DWORD *)(v2 + 112) = -1;
*(_BYTE *)(v2 + 108) = 0;
*(_BYTE *)(v2 + 109) = 0;
*(_DWORD *)(v2 + 116) = 0;
*(_QWORD *)(v2 + 120) = 0;
*(_QWORD *)v2 = &off_118A140;
*(_QWORD *)(v2 + 56) = &off_118A1B0;
if ( SFXSearchResult::init((SFXSearchResult *)v2, a1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
return (SFXSearchResult *)v2;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
}