//
// GJShopLayer::create from 0xa802ec to 0xa803f8 (268 bytes)
//
// 2 xrefs:
// > GJShopLayer::scene @ 0xa8041c
// > ??> @ 0xf13f0
//
// 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 13:00:31 +0000
//
__int64 __fastcall GJShopLayer::create(unsigned int a1)
{
__int64 v2; // x19
v2 = operator new(0x210u);
cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v2);
*(_BYTE *)(v2 + 432) = 0;
*(_QWORD *)v2 = &off_1495F40;
*(_QWORD *)(v2 + 320) = off_14963E8;
*(_QWORD *)(v2 + 328) = &off_1496458;
*(_QWORD *)(v2 + 336) = off_1496470;
*(_QWORD *)(v2 + 344) = off_1496490;
*(_QWORD *)(v2 + 352) = off_14964B8;
*(_QWORD *)(v2 + 440) = 0;
*(_QWORD *)(v2 + 448) = 0;
*(_QWORD *)(v2 + 408) = &off_14964E8;
*(_QWORD *)(v2 + 416) = &off_1496500;
*(_QWORD *)(v2 + 424) = off_1496518;
*(_DWORD *)(v2 + 456) = 0;
*(_QWORD *)(v2 + 464) = 0;
*(_QWORD *)(v2 + 472) = 0;
*(_QWORD *)(v2 + 480) = 0;
*(_QWORD *)(v2 + 488) = 0;
*(_QWORD *)(v2 + 496) = 0;
*(_BYTE *)(v2 + 504) = 0;
*(_BYTE *)(v2 + 505) = 0;
*(_QWORD *)(v2 + 512) = 0;
*(_DWORD *)(v2 + 520) = 0;
*(_DWORD *)(v2 + 524) = 0;
if ( (unsigned __int8)GJShopLayer::init(v2, a1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
return v2;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 16LL))(v2);
return 0;
}
}