//
// EditorPauseLayer::create from 0x1002910a0 to 0x10029118a (234 bytes)
//
// 1 xrefs:
// > EditorUI::onPause @ 0x10002a83d
//
// 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
//
EditorPauseLayer *__fastcall EditorPauseLayer::create(LevelEditorLayer *a1)
{
char *v1; // rbx
v1 = (char *)operator new(0x270u);
cocos2d::CCLayerColor::CCLayerColor(v1);
*((_WORD *)v1 + 272) = 0;
*(_QWORD *)v1 = off_1008F7058;
*((_QWORD *)v1 + 40) = off_1008F75C8;
*((_QWORD *)v1 + 41) = &off_1008F7638;
*((_QWORD *)v1 + 42) = off_1008F7650;
*((_QWORD *)v1 + 43) = off_1008F7670;
*((_QWORD *)v1 + 44) = off_1008F7690;
*((_QWORD *)v1 + 51) = off_1008F76B8;
*((_QWORD *)v1 + 54) = off_1008F7738;
*((_QWORD *)v1 + 69) = &off_1008F7758;
v1[560] = 0;
*(_OWORD *)(v1 + 568) = 0;
*((_QWORD *)v1 + 73) = 0;
if ( EditorPauseLayer::init((EditorPauseLayer *)v1, a1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 16LL))(v1);
return nullptr;
}
return (EditorPauseLayer *)v1;
}