//
// CustomSFXWidget::create from 0x1002efb44 to 0x1002efc28 (228 bytes)
//
// 2 xrefs:
// > CustomSFXCell::loadFromObject @ 0x100102a5c
// > SetupSFXPopup::createSFXWidget @ 0x1001809d4
//
// 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 *v14; // x19
v14 = (char *)operator new(0x1D0u);
cocos2d::CCNode::CCNode((__int64)v14);
*(_QWORD *)v14 = off_1007E7670;
*((_QWORD *)v14 + 40) = off_1007E7A10;
*((_QWORD *)v14 + 41) = &off_1007E7A70;
*((_QWORD *)v14 + 42) = 0;
*((_QWORD *)v14 + 47) = 0;
*((_QWORD *)v14 + 57) = 0;
*((_QWORD *)v14 + 44) = 0;
*((_QWORD *)v14 + 45) = 0;
*(_OWORD *)(v14 + 392) = 0u;
*(_OWORD *)(v14 + 408) = 0u;
*(_OWORD *)(v14 + 424) = 0u;
*(_OWORD *)(v14 + 437) = 0u;
if ( CustomSFXWidget::init((CustomSFXWidget *)v14, a1, a2, a3, a4, a5, a6, a7) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v14);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v14 + 16LL))(v14);
return nullptr;
}
return (CustomSFXWidget *)v14;
}