//
// EditorPauseLayer::create from 0x8b7824 to 0x8b791c (248 bytes)
//
// 2 xrefs:
// > EditorUI::onPause @ 0x7ceb64
// > ??> @ 0xb91a0
//
// 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 12:56:25 +0000
//
__int64 __fastcall EditorPauseLayer::create(EditorPauseLayer *this, LevelEditorLayer *a2)
{
__int64 v3; // x19
v3 = operator new(0x280u);
cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v3);
*(_BYTE *)(v3 + 544) = 0;
*(_BYTE *)(v3 + 545) = 0;
*(_BYTE *)(v3 + 568) = 0;
*(_QWORD *)v3 = &off_1459700;
*(_QWORD *)(v3 + 320) = off_1459C88;
*(_QWORD *)(v3 + 328) = &off_1459CF8;
*(_QWORD *)(v3 + 336) = off_1459D10;
*(_QWORD *)(v3 + 344) = off_1459D30;
*(_QWORD *)(v3 + 352) = off_1459D58;
*(_QWORD *)(v3 + 408) = &off_1459D88;
*(_QWORD *)(v3 + 432) = &off_1459E08;
*(_QWORD *)(v3 + 552) = &off_1459E28;
*(_QWORD *)(v3 + 560) = &off_1459E40;
*(_QWORD *)(v3 + 576) = 0;
*(_QWORD *)(v3 + 616) = 0;
*(_QWORD *)(v3 + 624) = 0;
*(_QWORD *)(v3 + 632) = 0;
if ( (unsigned __int8)EditorPauseLayer::init((EditorPauseLayer *)v3, this) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3);
return v3;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 16LL))(v3);
return 0;
}
}