// // AnimatedShopKeeper::create from 0x4e2cb0 to 0x4e2d54 (164 bytes) // // 1 xrefs: // > GJShopLayer::init @ 0x4e3330 // // 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) { AnimatedShopKeeper *v2; // r4 AnimatedShopKeeper_vtbl *v3; // r3 int *v4; // r0 v2 = (AnimatedShopKeeper *)operator new(0x238u); cocos2d::CCSprite::CCSprite(v2); v2->m_animationManager = nullptr; v2->m_sprite = nullptr; v2->m_unkString1.m_data.m_data = (stl::StringData::Internal *)&unk_ACDDA8; v2->m_activeTween.m_data.m_data = (stl::StringData::Internal *)&unk_ACDDA8; v2->m_currentAnim.m_data.m_data = (stl::StringData::Internal *)&unk_ACDDA8; v2->m_fbfSprite = nullptr; v2->m_paSprite = nullptr; v2->m_spriteMode = 0; v2->CCAnimatedSprite::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (AnimatedShopKeeper_vtbl *)&off_A792F0; v2->m_delegate = nullptr; v2->CCAnimatedSprite::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A79564; v2->CCAnimatedSprite::cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)&off_A795A4; v2->m_type = 0; v2->m_idleInt1 = 0; v2->m_idleInt2 = 0; v2->m_looking = 0; v2->m_reacting = 0; v2->m_reactCount = 0; v2->m_gruntIndex = 0; if ( AnimatedShopKeeper::init(v2, a1) ) { cocos2d::CCObject::autorelease(v2); } else { v3 = v2->CCAnimatedSprite::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v4 = (int *)v2; v2 = nullptr; v3->~AnimatedShopKeeper_0((AnimatedShopKeeper *)v4); } return v2; }