// // AnimatedShopKeeper::create from 0x10030fdd0 to 0x10030ff2c (348 bytes) // // 1 xrefs: // > GJShopLayer::init @ 0x10030ecea // // This function is hookable on this platform (idp: pc, 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 12:28:38 +0000 // char *__fastcall AnimatedShopKeeper::create(int a1) { char *v1; // rbx const char *v2; // rsi int v3; // eax v1 = (char *)operator new(0x2E8u); cocos2d::CCSprite::CCSprite((__int64)v1); *(_OWORD *)(v1 + 664) = 0; *(_OWORD *)(v1 + 648) = 0; *(_OWORD *)(v1 + 632) = 0; *(_OWORD *)(v1 + 616) = 0; *(_OWORD *)(v1 + 600) = 0; *((_DWORD *)v1 + 170) = 0; *((_OWORD *)v1 + 43) = 0; *((_OWORD *)v1 + 44) = 0; *(_QWORD *)v1 = off_100B1C208; *((_QWORD *)v1 + 40) = off_100B1C700; *((_QWORD *)v1 + 43) = off_100B1C780; *((_QWORD *)v1 + 92) = 0; *((_QWORD *)v1 + 90) = 0; *(_QWORD *)(v1 + 726) = 0; *((_DWORD *)v1 + 180) = a1; if ( (unsigned int)(a1 - 1) > 3 ) v2 = "GJShopKeeper"; else v2 = off_100B1C7B8[a1 - 1]; if ( (unsigned __int8)CCAnimatedSprite::initWithType(v1, v2, 0, 0) ) { *((_DWORD *)v1 + 182) = (int)(float)((float)((float)((float)rand() * 4.6566129e-10) * 5.0) + 10.0); v3 = rand(); *((_DWORD *)v1 + 181) = (int)(float)((float)((float)((float)v3 * 4.6566129e-10) + (float)((float)v3 * 4.6566129e-10)) + 1.0); SpriteAnimationManager::stopAnimations(*((_QWORD *)v1 + 81)); cocos2d::CCObject::autorelease(v1); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 16LL))(v1); return nullptr; } return v1; }