// // AnimatedShopKeeper::init from 0xa7cb34 to 0xa7cc24 (240 bytes) // // 2 xrefs: // > AnimatedShopKeeper::create @ 0xa7ccc8 // > @ 0xec098 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:00:29 +0000 // __int64 __fastcall AnimatedShopKeeper::init(CCAnimatedSprite *this, int a2) { char *v3; // x1 unsigned __int8 v4; // w0 unsigned int v5; // w20 float v6; // s0 SpriteAnimationManager *v7; // x0 *((_DWORD *)this + 180) = 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, 0); v5 = v4; if ( v4 ) { *((_DWORD *)this + 182) = (int)(float)((float)((float)((float)rand() * 4.6566e-10) * 5.0) + 10.0); v6 = (float)rand(); v7 = *((SpriteAnimationManager **)this + 81); *((_DWORD *)this + 181) = (int)(float)((float)((float)(v6 * 4.6566e-10) * 2.0) + 1.0); SpriteAnimationManager::stopAnimations(v7); } return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source