// // AnimatedShopKeeper::init from 0x10014e5fc to 0x10014e69c (160 bytes) // // 1 xrefs: // > AnimatedShopKeeper::create @ 0x10014ba9c // // 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 // bool __fastcall AnimatedShopKeeper::init(AnimatedShopKeeper *a1, ShopType a2) { const char *v3; // x1 _BOOL4 v4; // w20 a1->m_type = a2; if ( (unsigned int)(a2 - 1) > 3 ) v3 = "GJShopKeeper"; else v3 = off_100799B60[a2 - 1]; v4 = CCAnimatedSprite::initWithType(a1, v3, nullptr, 0); if ( v4 ) { a1->m_idleInt2 = (int)(float)((float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 5.0) + 10.0); a1->m_idleInt1 = (int)(float)((float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 2.0) + 1.0); SpriteAnimationManager::stopAnimations(a1->m_animationManager); } return v4; }