//
// SetupSmartBlockLayer::create from 0x1000777a0 to 0x100077878 (216 bytes)
//
// 2 xrefs:
// > EditorUI::editObjectSpecial @ 0x10047c2b8
// > EditorUI::editObjectSpecial @ 0x10047c540
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 10:58:13 +0000
//
char *__fastcall SetupSmartBlockLayer::create(__int64 a1, __int64 a2)
{
char *v4; // x19
v4 = (char *)operator new(0x2C0u);
FLAlertLayer::FLAlertLayer((__int64)v4);
*(_QWORD *)v4 = off_1008C44A0;
*((_QWORD *)v4 + 40) = off_1008C49F8;
*((_QWORD *)v4 + 41) = &off_1008C4A68;
*((_QWORD *)v4 + 42) = off_1008C4A80;
*((_QWORD *)v4 + 43) = off_1008C4AA0;
*((_QWORD *)v4 + 44) = off_1008C4AC8;
*((_QWORD *)v4 + 51) = off_1008C4AF8;
*((_QWORD *)v4 + 54) = off_1008C4B78;
*((_QWORD *)v4 + 68) = off_1008C4B98;
*((_QWORD *)v4 + 83) = &off_1008C4BE0;
*((_DWORD *)v4 + 168) = 0;
*(_DWORD *)(v4 + 675) = 0;
*((_DWORD *)v4 + 170) = -1;
*((_OWORD *)v4 + 43) = 0u;
if ( (unsigned int)SetupSmartBlockLayer::init(v4, a1, a2) )
{
cocos2d::CCObject::autorelease(v4);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v4 + 16LL))(v4);
return nullptr;
}
return v4;
}