//
// AnimatedShopKeeper::create from 0xa7cc28 to 0xa7cd24 (252 bytes)
//
// 2 xrefs:
// > GJShopLayer::init @ 0xa7f240
// > ??> @ 0x61cd8
//
// 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:29 +0000
//
__int64 __fastcall AnimatedShopKeeper::create(int a1)
{
__int64 v2; // x19
v2 = operator new(0x2E8u);
cocos2d::CCSprite::CCSprite((cocos2d::CCSprite *)v2);
*(_QWORD *)(v2 + 600) = 0;
*(_QWORD *)(v2 + 608) = 0;
*(_QWORD *)(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;
*(_QWORD *)(v2 + 672) = 0;
*(_DWORD *)(v2 + 680) = 0;
*(_QWORD *)(v2 + 688) = 0;
*(_QWORD *)(v2 + 696) = 0;
*(_QWORD *)(v2 + 704) = 0;
*(_QWORD *)(v2 + 712) = 0;
*(_DWORD *)(v2 + 720) = 0;
*(_QWORD *)v2 = &off_1496C80;
*(_QWORD *)(v2 + 320) = &off_1497178;
*(_QWORD *)(v2 + 344) = &off_14971F8;
*(_DWORD *)(v2 + 724) = 0;
*(_DWORD *)(v2 + 728) = 0;
*(_BYTE *)(v2 + 732) = 0;
*(_BYTE *)(v2 + 733) = 0;
*(_DWORD *)(v2 + 736) = 0;
*(_DWORD *)(v2 + 740) = 0;
if ( (unsigned __int8)AnimatedShopKeeper::init((CCAnimatedSprite *)v2, a1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
return v2;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 16LL))(v2);
return 0;
}
}