//
// SetupSmartBlockLayer::create from 0x6738dc to 0x6739a0 (196 bytes)
//
// 1 xrefs:
// > EditorUI::editObjectSpecial @ 0x483c6e
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:55:54 +0000
//
FLAlertLayer *__fastcall SetupSmartBlockLayer::create(
SetupSmartBlockLayer *this,
SmartGameObject *a2,
cocos2d::CCArray *a3)
{
FLAlertLayer *v5; // r4
int v6; // r3
int *v7; // r0
v5 = (FLAlertLayer *)operator new(0x220u);
FLAlertLayer::FLAlertLayer(v5);
*(_DWORD *)v5 = &off_CD2B50;
*((_DWORD *)v5 + 66) = &off_CD2DFC;
*((_DWORD *)v5 + 67) = &off_CD2E34;
*((_DWORD *)v5 + 68) = &off_CD2E40;
*((_DWORD *)v5 + 69) = &off_CD2E50;
*((_DWORD *)v5 + 70) = &off_CD2E64;
*((_DWORD *)v5 + 79) = &off_CD2E7C;
*((_DWORD *)v5 + 83) = &off_CD2EBC;
*((_DWORD *)v5 + 110) = &off_CD2ECC;
*((_DWORD *)v5 + 130) = &off_CD2EF0;
*((_DWORD *)v5 + 133) = -1;
*((_BYTE *)v5 + 524) = 0;
*((_BYTE *)v5 + 525) = 0;
*((_BYTE *)v5 + 526) = 0;
*((_BYTE *)v5 + 527) = 0;
*((_BYTE *)v5 + 528) = 0;
*((_BYTE *)v5 + 529) = 0;
*((_BYTE *)v5 + 530) = 0;
*((_DWORD *)v5 + 134) = 0;
*((_DWORD *)v5 + 135) = 0;
if ( SetupSmartBlockLayer::init((cocos2d::CCMenu **)v5, this, a2) )
{
cocos2d::CCObject::autorelease(v5);
}
else
{
v6 = *(_DWORD *)v5;
v7 = (int *)v5;
v5 = nullptr;
(*(void (__fastcall **)(int *))(v6 + 8))(v7);
}
return v5;
}