//
// PauseLayer::create from 0x7d53d0 to 0x7d54f8 (296 bytes)
//
// 2 xrefs:
// > PlayLayer::pauseGame @ 0x6f72c8
// > ??> @ 0x4da70
//
// 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:54:20 +0000
//
__int64 __fastcall PauseLayer::create(PauseLayer *this)
{
char v1; // w20
__int64 v2; // x19
v1 = (char)this;
v2 = operator new(0x2A0u);
cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v2);
*(_BYTE *)(v2 + 544) = 0;
*(_BYTE *)(v2 + 545) = 0;
*(_BYTE *)(v2 + 584) = 0;
*(_QWORD *)v2 = &off_1437B60;
*(_QWORD *)(v2 + 320) = off_1438108;
*(_QWORD *)(v2 + 328) = &off_1438178;
*(_QWORD *)(v2 + 336) = off_1438190;
*(_QWORD *)(v2 + 344) = off_14381B0;
*(_QWORD *)(v2 + 352) = off_14381D8;
*(_QWORD *)(v2 + 408) = &off_1438208;
*(_QWORD *)(v2 + 432) = &off_1438288;
*(_QWORD *)(v2 + 552) = &off_14382A8;
*(_QWORD *)(v2 + 560) = &off_14382C0;
*(_QWORD *)(v2 + 568) = &off_14382D8;
*(_QWORD *)(v2 + 576) = &off_14382F0;
*(_BYTE *)(v2 + 585) = 0;
*(_BYTE *)(v2 + 586) = 0;
*(_QWORD *)(v2 + 592) = 0;
*(_DWORD *)(v2 + 600) = 0;
*(_QWORD *)(v2 + 608) = 0;
*(_BYTE *)(v2 + 616) = 0;
*(_QWORD *)(v2 + 624) = 0;
*(_QWORD *)(v2 + 632) = 0;
*(_QWORD *)(v2 + 640) = 0;
*(_QWORD *)(v2 + 648) = 0;
*(_QWORD *)(v2 + 656) = 0;
*(_QWORD *)(v2 + 664) = 0;
if ( (unsigned __int8)PauseLayer::init((PauseLayer *)v2, v1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
return v2;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 16LL))(v2);
return 0;
}
}