//
// AnimatedShopKeeper::create from 0x611280 to 0x611334 (180 bytes)
//
// 1 xrefs:
// > GJShopLayer::init @ 0x612d74
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:54:52 +0000
//
cocos2d::CCSprite *__fastcall AnimatedShopKeeper::create(int a1)
{
cocos2d::CCSprite *v2; // r4
int v3; // r3
int *v4; // r0
v2 = (cocos2d::CCSprite *)operator new(0x250u);
cocos2d::CCSprite::CCSprite(v2);
*((_DWORD *)v2 + 127) = 0;
*((_DWORD *)v2 + 128) = 0;
*((_DWORD *)v2 + 129) = 0;
*(_DWORD *)v2 = &off_CC52F8;
*((_DWORD *)v2 + 130) = 0;
*((_DWORD *)v2 + 66) = &off_CC5574;
*((_DWORD *)v2 + 131) = 0;
*((_DWORD *)v2 + 132) = 0;
*((_DWORD *)v2 + 133) = 0;
*((_DWORD *)v2 + 134) = 0;
*((_DWORD *)v2 + 135) = 0;
*((_DWORD *)v2 + 136) = 0;
*((_DWORD *)v2 + 137) = 0;
*((_DWORD *)v2 + 138) = 0;
*((_DWORD *)v2 + 139) = 0;
*((_DWORD *)v2 + 140) = 0;
*((_DWORD *)v2 + 141) = 0;
*((_DWORD *)v2 + 70) = &off_CC55B4;
*((_DWORD *)v2 + 142) = 0;
*((_DWORD *)v2 + 143) = 0;
*((_DWORD *)v2 + 144) = 0;
*((_BYTE *)v2 + 580) = 0;
*((_BYTE *)v2 + 581) = 0;
*((_DWORD *)v2 + 146) = 0;
*((_DWORD *)v2 + 147) = 0;
if ( AnimatedShopKeeper::init(v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
v3 = *(_DWORD *)v2;
v4 = (int *)v2;
v2 = nullptr;
(*(void (__fastcall **)(int *))(v3 + 8))(v4);
}
return v2;
}