//
// AnimatedShopKeeper::create from 0x92dc80 to 0x92dd70 (240 bytes)
//
// 2 xrefs:
// > GJShopLayer::init @ 0x92e0ec
// > ??> @ 0x44be0
//
// 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
//
AnimatedShopKeeper *AnimatedShopKeeper::create(ShopType a1)
{
__int64 v2; // x19
v2 = operator new(0x2B8u);
cocos2d::CCSprite::CCSprite((cocos2d::CCSprite *)v2);
*(_QWORD *)(v2 + 616) = 0;
*(_QWORD *)(v2 + 600) = &byte_124B6C8;
*(_QWORD *)(v2 + 608) = &byte_124B6C8;
*(_QWORD *)(v2 + 656) = &byte_124B6C8;
*(_QWORD *)(v2 + 624) = 0;
*(_QWORD *)(v2 + 632) = 0;
*(_QWORD *)(v2 + 640) = 0;
*(_DWORD *)(v2 + 648) = 0;
*(_QWORD *)(v2 + 664) = 0;
*(_DWORD *)(v2 + 672) = 0;
*(_QWORD *)v2 = &off_11B0080;
*(_QWORD *)(v2 + 320) = &off_11B0568;
*(_QWORD *)(v2 + 344) = &off_11B05E8;
*(_DWORD *)(v2 + 676) = 0;
*(_DWORD *)(v2 + 680) = 0;
*(_BYTE *)(v2 + 684) = 0;
*(_BYTE *)(v2 + 685) = 0;
*(_DWORD *)(v2 + 688) = 0;
*(_DWORD *)(v2 + 692) = 0;
if ( AnimatedShopKeeper::init((AnimatedShopKeeper *)v2, a1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
return (AnimatedShopKeeper *)v2;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
}