//
// CollisionBlockPopup::create from 0x100084b38 to 0x100084c00 (200 bytes)
//
// 1 xrefs:
// > EditorUI::editObject @ 0x1003e5294
//
// 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
//
CollisionBlockPopup *__fastcall CollisionBlockPopup::create(EffectGameObject *a1, cocos2d::CCArray *a2)
{
char *v4; // x19
v4 = (char *)operator new(0x2A0u);
FLAlertLayer::FLAlertLayer((FLAlertLayer *)v4);
*(_QWORD *)v4 = off_10077DC18;
*((_QWORD *)v4 + 40) = off_10077E158;
*((_QWORD *)v4 + 41) = &off_10077E1C8;
*((_QWORD *)v4 + 42) = off_10077E1E0;
*((_QWORD *)v4 + 43) = off_10077E200;
*((_QWORD *)v4 + 44) = off_10077E220;
*((_QWORD *)v4 + 51) = off_10077E248;
*((_QWORD *)v4 + 54) = off_10077E2C8;
*((_QWORD *)v4 + 79) = off_10077E2E8;
*((_QWORD *)v4 + 80) = 0;
*((_QWORD *)v4 + 82) = 0;
*((_QWORD *)v4 + 81) = 0;
*(_QWORD *)(v4 + 662) = 0;
if ( CollisionBlockPopup::init((CollisionBlockPopup *)v4, a1, a2) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v4 + 16LL))(v4);
return nullptr;
}
return (CollisionBlockPopup *)v4;
}