//
// EditorPauseLayer::dEditorPauseLayer from 0x140180ca0 to 0x140180dba (282 bytes)
//
// 3 xrefs:
// > sub_14018341C @ 0x140183423
// > ??> @ 0x14074a7b8
// > ??> @ 0x140918ba8
//
// 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 11:27:36 +0000
//
// Hidden C++ exception states: #wind=1
char *__fastcall EditorPauseLayer::dEditorPauseLayer(char *Block, char a2)
{
char *v4; // rdi
__int64 v5; // rax
void *v6; // rax
*(_QWORD *)Block = &EditorPauseLayer::`vftable';
*((_QWORD *)Block + 40) = &EditorPauseLayer::`vftable';
*((_QWORD *)Block + 41) = &EditorPauseLayer::`vftable';
*((_QWORD *)Block + 42) = &EditorPauseLayer::`vftable';
*((_QWORD *)Block + 43) = &EditorPauseLayer::`vftable';
*((_QWORD *)Block + 44) = &EditorPauseLayer::`vftable';
*((_QWORD *)Block + 51) = &EditorPauseLayer::`vftable';
*((_QWORD *)Block + 54) = &EditorPauseLayer::`vftable';
*((_QWORD *)Block + 69) = &EditorPauseLayer::`vftable';
v4 = Block + 560;
*((_QWORD *)Block + 70) = &EditorPauseLayer::`vftable';
v5 = qword_14090BFD0;
if ( !qword_14090BFD0 )
{
v6 = operator new(0x6E8u);
qword_14090BFD0 = GameManager::GameManager(v6);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);
v5 = qword_14090BFD0;
}
if ( *(char **)(v5 + 984) == v4 )
*(_QWORD *)(v5 + 984) = 0;
CCBlockLayer::dCCBlockLayer((__int64)Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}