//
// EditorPauseLayer::create from 0x10027c970 to 0x10027ca73 (259 bytes)
//
// 1 xrefs:
// > EditorUI::onPause @ 0x100008fd9
//
// This function is hookable on this platform (idp: pc, 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 12:27:41 +0000
//
char *__fastcall EditorPauseLayer::create(__int64 a1)
{
char *v1; // rbx
v1 = (char *)operator new(0x280u);
cocos2d::CCLayerColor::CCLayerColor(v1);
*((_WORD *)v1 + 272) = 0;
*(_QWORD *)v1 = off_100AFD9E8;
*((_QWORD *)v1 + 40) = off_100AFDF70;
*((_QWORD *)v1 + 41) = &off_100AFDFE0;
*((_QWORD *)v1 + 42) = off_100AFDFF8;
*((_QWORD *)v1 + 43) = off_100AFE018;
*((_QWORD *)v1 + 44) = off_100AFE040;
*((_QWORD *)v1 + 51) = off_100AFE070;
*((_QWORD *)v1 + 54) = off_100AFE0F0;
*((_QWORD *)v1 + 69) = &off_100AFE110;
*((_QWORD *)v1 + 70) = &off_100AFE128;
v1[568] = 0;
*((_QWORD *)v1 + 72) = 0;
*(_OWORD *)(v1 + 616) = 0;
*((_QWORD *)v1 + 79) = 0;
if ( (unsigned __int8)EditorPauseLayer::init(v1, a1) )
{
cocos2d::CCObject::autorelease(v1);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 16LL))(v1);
return nullptr;
}
return v1;
}