// // GauntletSprite::toggleLockedSprite from 0x1401f87f0 to 0x1401f88ed (253 bytes) // // 3 xrefs: // > GauntletLayer::setupGauntlet @ 0x1401f716b // > GauntletLayer::unlockActiveItem @ 0x1401f7e6b // > @ 0x1406cc948 // // 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 // // Hidden C++ exception states: #wind=1 void GauntletSprite::toggleLockedSprite(GauntletSprite *a1, bool a2) { float v2; // xmm0_4 const char *v5; // rcx struct cocos2d::CCSprite *v6; // rdi cocos2d::CCSprite_vtbl *v7; // rbx const cocos2d::CCSize *v8; // rax const cocos2d::CCPoint *v9; // rax _QWORD v10[4]; // [rsp+28h] [rbp-40h] BYREF a1->removeAllChildren(a1); if ( a2 ) { GauntletSprite::addLockedSprite(a1); } else { GauntletNode::frameForType(v10, (unsigned int)a1->m_gauntletType); v5 = (const char *)v10; if ( v10[3] > 0xFu ) v5 = (const char *)v10[0]; v6 = cocos2d::CCSprite::createWithSpriteFrameName(v5); a1->addChild_1(a1, v6); v7 = v6->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; a1->getContentSize(a1); v8 = a1->getContentSize(a1); cocos2d::CCPoint::CCPoint(v2, v8->width * 0.5); v7->setPosition_0(v6, v9); sub_14003A830((__int64)v10); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source