//
// GJShopLayer::create from 0x10030e580 to 0x10030e67c (252 bytes)
//
// 0 xrefs:
//
// 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:28:37 +0000
//
char *__fastcall GJShopLayer::create(unsigned int a1)
{
char *v1; // rbx
v1 = (char *)operator new(0x210u);
cocos2d::CCLayer::CCLayer(v1);
*(_QWORD *)v1 = off_100B1B458;
*((_QWORD *)v1 + 40) = off_100B1B900;
*((_QWORD *)v1 + 41) = &off_100B1B970;
*((_QWORD *)v1 + 42) = off_100B1B988;
*((_QWORD *)v1 + 43) = off_100B1B9A8;
*((_QWORD *)v1 + 44) = off_100B1B9D0;
*((_QWORD *)v1 + 51) = &off_100B1BA00;
*((_QWORD *)v1 + 52) = &off_100B1BA18;
*((_QWORD *)v1 + 53) = off_100B1BA30;
v1[432] = 0;
*(_OWORD *)(v1 + 440) = 0;
*((_DWORD *)v1 + 114) = 0;
*((_OWORD *)v1 + 29) = 0;
*((_OWORD *)v1 + 30) = 0;
*(_OWORD *)(v1 + 490) = 0;
*((_OWORD *)v1 + 32) = 0;
if ( (unsigned __int8)GJShopLayer::init(v1, a1) )
{
cocos2d::CCObject::autorelease(v1);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 16LL))(v1);
return nullptr;
}
return v1;
}