//
// sub_10004244C from 0x10004244c to 0x10004251c (208 bytes)
//
// 2 xrefs:
// > sub_100041DE0 @ 0x100041df4
// > EditorUI::editObjectOptions @ 0x10047cc24
//
// 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:57:37 +0000
//
char *__fastcall sub_10004244C(__int64 a1, __int64 a2)
{
char *v4; // x19
v4 = (char *)operator new(0x2C8u);
FLAlertLayer::FLAlertLayer((__int64)v4);
*(_QWORD *)v4 = off_1008B9A00;
*((_QWORD *)v4 + 40) = off_1008B9F68;
*((_QWORD *)v4 + 41) = &off_1008B9FD8;
*((_QWORD *)v4 + 42) = off_1008B9FF0;
*((_QWORD *)v4 + 43) = off_1008BA010;
*((_QWORD *)v4 + 44) = off_1008BA038;
*((_QWORD *)v4 + 51) = off_1008BA068;
*((_QWORD *)v4 + 54) = off_1008BA0E8;
*((_QWORD *)v4 + 68) = off_1008BA108;
*((_QWORD *)v4 + 83) = 0;
*((_QWORD *)v4 + 85) = 0;
*((_QWORD *)v4 + 84) = 0;
*((_DWORD *)v4 + 172) = 0;
*(_QWORD *)(v4 + 694) = 0;
*(_DWORD *)(v4 + 702) = 0;
if ( (unsigned int)SetupObjectOptionsPopup::init(v4, a1, a2) )
{
cocos2d::CCObject::autorelease(v4);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v4 + 16LL))(v4);
return nullptr;
}
return v4;
}