// // GauntletSprite::toggleLockedSprite from 0x1402fd620 to 0x1402fd720 (256 bytes) // // 3 xrefs: // > GauntletLayer::setupGauntlet @ 0x1402fbf2d // > GauntletLayer::unlockActiveItem @ 0x1402fcc6c // > @ 0x14091e3c8 // // 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 11:30:06 +0000 // // Hidden C++ exception states: #wind=1 void __fastcall GauntletSprite::toggleLockedSprite(unsigned int *a1, char a2) { const char *v4; // rcx struct cocos2d::CCSprite *v5; // rsi float *v6; // rbx __int64 v7; // rdi __int64 v8; // rax __int64 v9; // rax _BYTE v10[8]; // [rsp+20h] [rbp-38h] BYREF _QWORD v11[4]; // [rsp+28h] [rbp-30h] BYREF (*(void (__fastcall **)(unsigned int *))(*(_QWORD *)a1 + 568LL))(a1); if ( a2 ) { GauntletSprite::addLockedSprite(a1); } else { GauntletNode::frameForType(v11, a1[80]); v4 = (const char *)v11; if ( v11[3] > 0xFu ) v4 = (const char *)v11[0]; v5 = cocos2d::CCSprite::createWithSpriteFrameName(v4); (*(void (__fastcall **)(unsigned int *, struct cocos2d::CCSprite *))(*(_QWORD *)a1 + 464LL))(a1, v5); v6 = (float *)(*(__int64 (__fastcall **)(unsigned int *))(*(_QWORD *)a1 + 320LL))(a1); v7 = *(_QWORD *)v5; v8 = (*(__int64 (__fastcall **)(unsigned int *))(*(_QWORD *)a1 + 320LL))(a1); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, *v6 * 0.5, *(float *)(v8 + 4) * 0.5); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v7 + 184))(v5, v9); sub_14003D310((__int64)v11); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source