//
// DialogLayer::createDialogLayer from 0x10008680c to 0x100086884 (120 bytes)
//
// 2 xrefs:
// > DialogLayer::create @ 0x100086808
// > DialogLayer::createWithObjects @ 0x1000868a4
//
// 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 *__fastcall DialogLayer::createDialogLayer(DialogObject *a1, cocos2d::CCArray *a2, int a3)
{
DialogLayer *v6; // x19
v6 = (DialogLayer *)operator new(0x288u);
DialogLayer::DialogLayer(v6);
if ( DialogLayer::init(v6, a1, a2, a3) )
{
cocos2d::CCObject::autorelease(v6);
}
else
{
((void (__fastcall *)(DialogLayer *))v6->~DialogLayer_0)(v6);
return nullptr;
}
return v6;
}