//
// DialogLayer::createDialogLayer from 0x917118 to 0x917244 (300 bytes)
//
// 3 xrefs:
// > DialogLayer::create @ 0x91724c
// > DialogLayer::createWithObjects @ 0x917260
// > ??> @ 0x6dd58
//
// 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
//
DialogLayer *DialogLayer::createDialogLayer(DialogObject *a1, cocos2d::CCArray *a2, int a3)
{
__int64 v6; // x19
v6 = operator new(0x288u);
cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v6);
*(_QWORD *)(v6 + 568) = 0;
*(_QWORD *)(v6 + 544) = &off_11ABF80;
*(_QWORD *)v6 = &off_11AB8D0;
*(_DWORD *)(v6 + 600) = -1;
*(_QWORD *)(v6 + 320) = off_11ABDF0;
*(_QWORD *)(v6 + 328) = &off_11ABE60;
*(_QWORD *)(v6 + 336) = &off_11ABE78;
*(_QWORD *)(v6 + 344) = &off_11ABE98;
*(_QWORD *)(v6 + 352) = off_11ABEB8;
*(_QWORD *)(v6 + 408) = &off_11ABEE0;
*(_QWORD *)(v6 + 432) = &off_11ABF60;
*(_QWORD *)(v6 + 576) = 0;
*(_QWORD *)(v6 + 584) = 0;
*(_QWORD *)(v6 + 592) = 0;
*(_BYTE *)(v6 + 616) = 0;
*(_BYTE *)(v6 + 617) = 0;
*(_QWORD *)(v6 + 624) = 0;
*(_BYTE *)(v6 + 632) = 0;
*(_DWORD *)(v6 + 636) = 1;
*(_BYTE *)(v6 + 640) = 0;
*(_DWORD *)(v6 + 552) = 0;
if ( DialogLayer::init((DialogLayer *)v6, a1, a2, a3) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6);
return (DialogLayer *)v6;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 16LL))(v6);
return nullptr;
}
}