//
// SetupObjectOptions2Popup::create from 0x100317220 to 0x100317437 (535 bytes)
//
// 1 xrefs:
// > SetGroupIDLayer::onExtra2 @ 0x100316845
//
// 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
//
SetupObjectOptions2Popup *__fastcall SetupObjectOptions2Popup::create(GameObject *a1, cocos2d::CCArray *a2)
{
char *v2; // rbx
v2 = (char *)operator new(0x3B0u);
cocos2d::CCLayerColor::CCLayerColor(v2);
*((_QWORD *)v2 + 72) = 0;
*((_DWORD *)v2 + 146) = 0;
v2[588] = 0;
*((_OWORD *)v2 + 34) = 0;
*(_OWORD *)(v2 + 553) = 0;
*((_OWORD *)v2 + 37) = 0;
*((_QWORD *)v2 + 76) = 0;
*((_DWORD *)v2 + 154) = -1;
*((_WORD *)v2 + 310) = 0;
*((_DWORD *)v2 + 156) = -1;
v2[628] = 0;
*((_OWORD *)v2 + 52) = 0;
*((_OWORD *)v2 + 41) = 0;
*((_WORD *)v2 + 336) = 0;
*(_OWORD *)(v2 + 680) = 0;
*(_OWORD *)(v2 + 689) = 0;
v2[716] = 0;
*(_QWORD *)(v2 + 708) = 0;
*((_OWORD *)v2 + 50) = 0;
*((_OWORD *)v2 + 49) = 0;
*((_OWORD *)v2 + 48) = 0;
*((_OWORD *)v2 + 47) = 0;
*((_OWORD *)v2 + 46) = 0;
*((_OWORD *)v2 + 45) = 0;
*((_QWORD *)v2 + 102) = 0;
*((_QWORD *)v2 + 103) = v2 + 832;
*((_WORD *)v2 + 424) = 0;
*((_QWORD *)v2 + 107) = 0;
*((_QWORD *)v2 + 108) = 0x3F80000000000000LL;
*(_OWORD *)(v2 + 872) = 0;
*(_OWORD *)(v2 + 888) = 0;
*(_OWORD *)(v2 + 904) = 0;
*(_OWORD *)(v2 + 920) = 0;
v2[936] = 0;
*(_QWORD *)v2 = off_100911528;
*((_QWORD *)v2 + 40) = off_100911AF8;
*((_QWORD *)v2 + 41) = &off_100911B68;
*((_QWORD *)v2 + 42) = off_100911B80;
*((_QWORD *)v2 + 43) = off_100911BA0;
*((_QWORD *)v2 + 44) = off_100911BC0;
*((_QWORD *)v2 + 51) = off_100911BE8;
*((_QWORD *)v2 + 54) = off_100911C68;
*((_QWORD *)v2 + 79) = off_100911C88;
*((_QWORD *)v2 + 80) = &off_100911CD0;
*((_QWORD *)v2 + 81) = off_100911CE8;
if ( SetupObjectOptions2Popup::init((SetupObjectOptions2Popup *)v2, a1, a2) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
return (SetupObjectOptions2Popup *)v2;
}