// // AnimatedShopKeeper::init from 0x6111c8 to 0x611268 (160 bytes) // // 1 xrefs: // > AnimatedShopKeeper::create @ 0x61130c // // 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:51 +0000 // int __fastcall AnimatedShopKeeper::init(CCAnimatedSprite *this, int a2) { const char *v3; // r1 int v4; // r5 int v5; // s15 SpriteAnimationManager *v6; // r0 *((_DWORD *)this + 142) = a2; switch ( a2 ) { case 1: v3 = "GJShopKeeper2"; break; case 2: v3 = "GJShopKeeper3"; break; case 3: v3 = "GJShopKeeper4"; break; case 4: v3 = "GJShopKeeper5"; break; default: v3 = "GJShopKeeper"; break; } v4 = CCAnimatedSprite::initWithType(this, v3, nullptr, nullptr); if ( v4 ) { *((_DWORD *)this + 144) = (int)(float)((float)((float)((float)rand() * 4.6566e-10) * 5.0) + 10.0); v5 = rand(); v6 = *((SpriteAnimationManager **)this + 133); *((_DWORD *)this + 143) = (int)(float)((float)((float)((float)v5 * 4.6566e-10) + (float)((float)v5 * 4.6566e-10)) + 1.0); SpriteAnimationManager::stopAnimations(v6); } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source