// // GauntletSprite::addLockedSprite from 0x60dc48 to 0x60ddd2 (394 bytes) // // 1 xrefs: // > GauntletSprite::toggleLockedSprite @ 0x60ddfa // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:54:49 +0000 // int __fastcall GauntletSprite::addLockedSprite(GauntletSprite *this) { const char *v1; // r4 size_t v3; // r0 float *v4; // r4 void (__fastcall *v5)(float *, __int16 *); // r2 int v6; // r0 void (__fastcall *v7)(float *, __int16 *); // r9 float v8; // s17 int v9; // r0 void (__fastcall *v10)(float *, __int16 *); // r9 int v11; // r0 const char *v12; // r1 int v13; // r5 void (__fastcall *v14)(int, __int16 *); // r9 float v15; // s17 int v16; // r0 __int16 v18; // [sp+4h] [bp-28h] BYREF char v19; // [sp+6h] [bp-26h] int v20[3]; // [sp+Ch] [bp-20h] BYREF int v21[3]; // [sp+18h] [bp-14h] BYREF GauntletNode::frameForType(v20, *((_DWORD *)this + 66)); if ( (v20[0] & 1) == 0 ) v1 = (char *)v20 + 1; v21[0] = 0; if ( (v20[0] & 1) != 0 ) v1 = (const char *)v20[2]; v21[1] = 0; v21[2] = 0; v3 = strlen(v1); std::string::__init(v21, v1, v3); v4 = (float *)CCSpriteGrayscale::createWithSpriteFrameName((char *)v21); std::string::~string((int)v21); v5 = *(void (__fastcall **)(float *, __int16 *))(*(_DWORD *)v4 + 480); v18 = -256; v19 = -1; v5(v4, &v18); (*(void (__fastcall **)(GauntletSprite *, float *))(*(_DWORD *)this + 228))(this, v4); v6 = GauntletSprite::luminanceForType((int)this, *((_DWORD *)this + 66)); CCSpriteWithHue::setLuminance(v4, *(float *)&v6); v7 = *(void (__fastcall **)(float *, __int16 *))(*(_DWORD *)v4 + 92); v8 = *(float *)(*(int (__fastcall **)(GauntletSprite *))(*(_DWORD *)this + 164))(this); v9 = (*(int (__fastcall **)(GauntletSprite *))(*(_DWORD *)this + 164))(this); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v18, v8 * 0.5, *(float *)(v9 + 4) * 0.5); v7(v4, &v18); v10 = *(void (__fastcall **)(float *, __int16 *))(*(_DWORD *)v4 + 480); v11 = GauntletSprite::colorForType(); v18 = v11; v19 = BYTE2(v11); v10(v4, &v18); v13 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"gauntletLock_001.png", v12); (*(void (__fastcall **)(float *, int, int))(*(_DWORD *)v4 + 232))(v4, v13, 1); v14 = *(void (__fastcall **)(int, __int16 *))(*(_DWORD *)v13 + 92); v15 = *(float *)(*(int (__fastcall **)(float *))(*(_DWORD *)v4 + 164))(v4); v16 = (*(int (__fastcall **)(float *))(*(_DWORD *)v4 + 164))(v4); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v18, v15 * 0.5, *(float *)(v16 + 4) * 0.5); v14(v13, &v18); return std::string::~string((int)v20); }
GD Web Decomp Icon

GD Web Decomp

Raw Source