//
// SetupObjectOptionsPopup::create from 0x10003e99c to 0x10003ea7c (224 bytes)
//
// 1 xrefs:
// > SetGroupIDLayer::onExtra @ 0x10003e40c
//
// 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
//
SetupObjectOptionsPopup *__fastcall SetupObjectOptionsPopup::create(
GameObject *a1,
cocos2d::CCArray *a2,
SetGroupIDLayer *a3)
{
char *v6; // x19
v6 = (char *)operator new(0x2B8u);
FLAlertLayer::FLAlertLayer((FLAlertLayer *)v6);
*(_QWORD *)v6 = off_10076D698;
*((_QWORD *)v6 + 40) = off_10076DBC8;
*((_QWORD *)v6 + 41) = &off_10076DC38;
*((_QWORD *)v6 + 42) = off_10076DC50;
*((_QWORD *)v6 + 43) = off_10076DC70;
*((_QWORD *)v6 + 44) = off_10076DC90;
*((_QWORD *)v6 + 51) = off_10076DCB8;
*((_QWORD *)v6 + 54) = off_10076DD38;
*((_QWORD *)v6 + 79) = off_10076DD58;
*((_QWORD *)v6 + 85) = 0;
*((_WORD *)v6 + 344) = 0;
*((_QWORD *)v6 + 80) = 0;
*((_QWORD *)v6 + 82) = 0;
*((_QWORD *)v6 + 81) = 0;
*((_DWORD *)v6 + 166) = 0;
v6[678] = 0;
*(_QWORD *)(v6 + 670) = 0;
if ( SetupObjectOptionsPopup::init((SetupObjectOptionsPopup *)v6, a1, a2, a3) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v6 + 16LL))(v6);
return nullptr;
}
return (SetupObjectOptionsPopup *)v6;
}