// // GauntletSprite::addNormalSprite from 0x4da0e0 to 0x4da184 (164 bytes) // // 1 xrefs: // > GauntletSprite::toggleLockedSprite @ 0x4da346 // // 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 // void GauntletSprite::addNormalSprite(GauntletSprite *a1) { cocos2d::CCSprite *v2; // r7 void (__fastcall *setPosition)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r8 float width; // s17 const cocos2d::CCSize *v5; // r0 cocos2d::CCSprite *v6; // [sp+0h] [bp-10h] BYREF cocos2d::CCPoint v7; // [sp+4h] [bp-Ch] BYREF GauntletNode::frameForType((int)&v6, a1->m_gauntletType); v2 = cocos2d::CCSprite::createWithSpriteFrameName((const char *)v6); a1->addChild(a1, v2); setPosition = v2->setPosition; width = a1->getContentSize(a1)->width; v5 = a1->getContentSize(a1); cocos2d::CCPoint::CCPoint(&v7, width * 0.5, v5->height * 0.5); setPosition(v2, &v7); sub_774008(&v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source