// // AnimatedShopKeeper::init from 0x1003286c0 to 0x100328769 (169 bytes) // // 0 xrefs: // // 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) { unsigned __int32 v2; // esi const char *v3; // rsi bool result; // al bool v5; // r14 int v6; // eax a1->m_type = a2; v2 = a2 - 1; if ( v2 > 3 ) v3 = "GJShopKeeper"; else v3 = off_1009149A0[v2]; result = CCAnimatedSprite::initWithType(a1, v3, nullptr, 0); if ( result ) { v5 = result; a1->m_idleInt2 = (int)(float)((float)((float)((float)rand() * 4.6566129e-10) * 5.0) + 10.0); v6 = rand(); a1->m_idleInt1 = (int)(float)((float)((float)((float)v6 * 4.6566129e-10) + (float)((float)v6 * 4.6566129e-10)) + 1.0); SpriteAnimationManager::stopAnimations(a1->m_animationManager); return v5; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source