// // GauntletSelectLayer::unlockAnimationStep2 from 0x1005a0cd0 to 0x1005a0f31 (609 bytes) // // 1 xrefs: // > GauntletSelectLayer::playUnlockAnimation @ 0x1005a0939 // // 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:32:33 +0000 // void __fastcall GauntletSelectLayer::unlockAnimationStep2(__int64 a1, double a2, __m128 a3, __m128 a4) { __int64 v4; // rbx __int64 v5; // rax __int64 v6; // r14 float v7; // xmm0_4 float v8; // xmm0_4 __int64 v9; // r12 unsigned int *v10; // rax __m128 v11; // xmm0 __m128 v12; // xmm0 __m128 v13; // xmm1 __m128 v14; // xmm2 __int64 v15; // [rsp+8h] [rbp-58h] BYREF double v16; // [rsp+10h] [rbp-50h] BYREF _QWORD v17[2]; // [rsp+18h] [rbp-48h] BYREF void *__p; // [rsp+28h] [rbp-38h] _OWORD v19[3]; // [rsp+30h] [rbp-30h] BYREF v4 = cocos2d::CCDictionary::objectForKey_1(*(_QWORD *)(a1 + 496), *(unsigned int *)(a1 + 508)); v5 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(&v15, v5); __p = operator new(0xB0u); v17[0] = 177; v17[1] = 170; strcpy( (char *)__p, "84a0.97a1a0.16a72a180a180a29a0a11a0a0a0a0a0a0a0a2a1a0a0a1a0a0a0a0a0a1a0a1a1a0a0a1a0a0.568627a0a0a0a1a0a0.8a0a0.2a0a1" "50a0a0a0a0a0a1a2a1a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0"); v6 = GameToolbox::particleFromString((unsigned __int8 *)v17, 0, 0); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v6 + 1208LL))(v6, 10.0); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v6 + 1224LL))(v6, 10.0); v7 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v6 + 968LL))(v6); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v6 + 976LL))(v6, v7 * 0.80000001); v8 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v6 + 920LL))(v6); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v6 + 928LL))(v6, v8 * 0.80000001); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 1584LL))(v6, 1); (*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)a1 + 464LL))(a1, v6, 11); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v6 + 160LL))(v6, 2.0); cocos2d::CCParticleSystem::resetSystem(v6); v9 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 512LL))(v4); v10 = (unsigned int *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 192LL))(v4); cocos2d::CCNode::convertToWorldSpace(&v16, v9, v10); cocos2d::CCNode::convertToNodeSpace((double *)v19, a1, (unsigned int *)&v16); (*(void (__fastcall **)(__int64, _OWORD *))(*(_QWORD *)v6 + 184LL))(v6, v19); v11 = 0; a3.f32[0] = (float)(unsigned __int8)*(_WORD *)(v4 + 336) / 255.0; a4.f32[0] = (float)HIBYTE(*(unsigned __int16 *)(v4 + 336)) / 255.0; v11.f32[0] = (float)*(unsigned __int8 *)(v4 + 338) / 255.0; v19[0] = _mm_movelh_ps(_mm_insert_ps(a3, a4, 16), _mm_blend_ps(v11, (__m128)xmmword_100A03610, 14)); (*(void (__fastcall **)(__int64, _OWORD *))(*(_QWORD *)v6 + 1360LL))(v6, v19); v12 = 0; v13 = 0; v13.f32[0] = (float)(unsigned __int8)*(_WORD *)(v4 + 336) / 255.0; v14 = 0; v14.f32[0] = (float)HIBYTE(*(unsigned __int16 *)(v4 + 336)) / 255.0; v12.f32[0] = (float)*(unsigned __int8 *)(v4 + 338) / 255.0; v19[0] = _mm_movelh_ps(_mm_insert_ps(v13, v14, 16), _mm_blend_ps(v12, (__m128)xmmword_100A03610, 14)); (*(void (__fastcall **)(__int64, _OWORD *))(*(_QWORD *)v6 + 1392LL))(v6, v19); if ( (v17[0] & 1) != 0 ) operator delete(__p); }
GD Web Decomp Icon

GD Web Decomp

Raw Source