//
// PauseLayer::create from 0x1003bf660 to 0x1003bf7a4 (324 bytes)
//
// 1 xrefs:
// > PlayLayer::pauseGame @ 0x10008da96
//
// 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:29:32 +0000
//
_WORD *__fastcall PauseLayer::create(char a1)
{
_WORD *v1; // rbx
v1 = operator new(0x2A0u);
cocos2d::CCLayerColor::CCLayerColor(v1);
v1[272] = 0;
*(_QWORD *)v1 = off_100B385F0;
*((_QWORD *)v1 + 40) = off_100B38B98;
*((_QWORD *)v1 + 41) = &off_100B38C08;
*((_QWORD *)v1 + 42) = off_100B38C20;
*((_QWORD *)v1 + 43) = off_100B38C40;
*((_QWORD *)v1 + 44) = off_100B38C68;
*((_QWORD *)v1 + 51) = off_100B38C98;
*((_QWORD *)v1 + 54) = off_100B38D18;
*((_QWORD *)v1 + 69) = &off_100B38D38;
*((_QWORD *)v1 + 70) = &off_100B38D50;
*((_QWORD *)v1 + 71) = &off_100B38D68;
*((_QWORD *)v1 + 72) = &off_100B38D80;
*(_WORD *)((char *)v1 + 585) = 0;
*((_QWORD *)v1 + 74) = 0;
*((_DWORD *)v1 + 150) = 0;
*((_QWORD *)v1 + 76) = 0;
*((_BYTE *)v1 + 616) = 0;
*((_OWORD *)v1 + 41) = 0;
*((_OWORD *)v1 + 40) = 0;
*((_OWORD *)v1 + 39) = 0;
*((_BYTE *)v1 + 584) = a1;
if ( (unsigned __int8)CCBlockLayer::init(v1) )
{
cocos2d::CCObject::autorelease(v1);
}
else
{
(*(void (__fastcall **)(_WORD *))(*(_QWORD *)v1 + 16LL))(v1);
return nullptr;
}
return v1;
}