//
// CustomSFXWidget::create from 0x1005e2900 to 0x1005e2a00 (256 bytes)
//
// 4 xrefs:
// > CustomListView::loadCell @ 0x100242401
// > CustomSFXCell::loadFromObject @ 0x1002445f6
// > CustomListView::reloadAll @ 0x10024e14d
// > SetupSFXPopup::createSFXWidget @ 0x1004b9fcc
//
// 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
//
CustomSFXWidget *__fastcall CustomSFXWidget::create(
SFXInfoObject *a1,
CustomSFXDelegate *a2,
bool a3,
bool a4,
bool a5,
bool a6,
bool a7)
{
char *v10; // rbx
v10 = (char *)operator new(0x1D0u);
cocos2d::CCNode::CCNode((__int64)v10);
*(_QWORD *)v10 = off_100976CF0;
*((_QWORD *)v10 + 40) = off_100977090;
*((_QWORD *)v10 + 41) = &off_1009770F0;
*((_QWORD *)v10 + 42) = 0;
*((_QWORD *)v10 + 47) = 0;
*((_QWORD *)v10 + 57) = 0;
*((_OWORD *)v10 + 22) = 0;
*(_OWORD *)(v10 + 392) = 0;
*(_OWORD *)(v10 + 408) = 0;
*(_OWORD *)(v10 + 424) = 0;
*(_OWORD *)(v10 + 437) = 0;
if ( CustomSFXWidget::init((CustomSFXWidget *)v10, a1, a2, a3, a4, a5, a6, a7) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v10);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v10 + 16LL))(v10);
return nullptr;
}
return (CustomSFXWidget *)v10;
}