//
// SFXChangelogEntry::create from 0x95d3cc to 0x95d48c (192 bytes)
//
// 2 xrefs:
// > MusicDownloadManager::parseSFXLibrary @ 0x96c2fc
// > ??> @ 0xa1c50
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:57:29 +0000
//
__int64 __fastcall SFXChangelogEntry::create(SFXChangelogEntry *this, int a2, int a3)
{
int v3; // w22
__int64 v6; // x19
v3 = (int)this;
v6 = operator new(0x50u);
cocos2d::CCObject::CCObject((cocos2d::CCObject *)v6);
*(_DWORD *)(v6 + 56) = 0;
*(_DWORD *)(v6 + 60) = 0;
*(_QWORD *)v6 = &off_146EEA0;
*(_DWORD *)(v6 + 64) = 0;
*(_QWORD *)(v6 + 72) = 0;
if ( (unsigned __int8)SFXChangelogEntry::init((SFXChangelogEntry *)v6, v3, a2, a3) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6);
return v6;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 16LL))(v6);
return 0;
}
}