//
// GJShopLayer::create from 0x92f554 to 0x92f664 (272 bytes)
//
// 2 xrefs:
// > GJShopLayer::scene @ 0x92f688
// > ??> @ 0xb8d58
//
// 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
//
GJShopLayer *GJShopLayer::create(ShopType a1)
{
__int64 v2; // x19
v2 = operator new(0x200u);
cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v2);
*(_BYTE *)(v2 + 432) = 0;
*(_QWORD *)v2 = &off_11AF3F0;
*(_QWORD *)(v2 + 320) = off_11AF888;
*(_QWORD *)(v2 + 328) = &off_11AF8F8;
*(_QWORD *)(v2 + 336) = &off_11AF910;
*(_QWORD *)(v2 + 344) = &off_11AF930;
*(_QWORD *)(v2 + 352) = off_11AF950;
*(_QWORD *)(v2 + 424) = &off_11AF9A8;
*(_QWORD *)(v2 + 408) = &off_11AF978;
*(_QWORD *)(v2 + 416) = &off_11AF990;
*(_QWORD *)(v2 + 440) = 0;
*(_QWORD *)(v2 + 448) = 0;
*(_DWORD *)(v2 + 456) = 0;
*(_QWORD *)(v2 + 472) = 0;
*(_QWORD *)(v2 + 480) = 0;
*(_QWORD *)(v2 + 464) = &byte_124B6C8;
*(_BYTE *)(v2 + 488) = 0;
*(_BYTE *)(v2 + 489) = 0;
*(_QWORD *)(v2 + 496) = 0;
*(_DWORD *)(v2 + 504) = 0;
*(_DWORD *)(v2 + 508) = 0;
if ( GJShopLayer::init((GJShopLayer *)v2, a1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
return (GJShopLayer *)v2;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
}