// // GauntletSelectLayer::unlockAnimationStep3 from 0x1005a0fb0 to 0x1005a133e (910 bytes) // // 1 xrefs: // > GauntletSelectLayer::unlockAnimationFinished @ 0x1005a0fa1 // // 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::unlockAnimationStep3(__int64 a1, double a2, double a3, __m128 a4) { __int64 v5; // rbx __int64 v6; // rax __int64 v7; // r15 __int64 v8; // r12 unsigned int *v9; // rax __m128 v10; // xmm0 __m128 v11; // xmm1 __m128 v12; // xmm0 __m128 v13; // xmm1 __m128 v14; // xmm2 __int64 v15; // r15 __int64 v16; // r12 unsigned int *v17; // rax __m128 v18; // xmm0 __m128 v19; // xmm1 __m128 v20; // xmm0 __int64 v21; // rax __int64 v22; // [rsp+0h] [rbp-60h] BYREF std::string v23; // [rsp+8h] [rbp-58h] BYREF __m128 v24; // [rsp+20h] [rbp-40h] BYREF __m128 v25; // [rsp+30h] [rbp-30h] BYREF v5 = cocos2d::CCDictionary::objectForKey_1(*(_QWORD *)(a1 + 496), *(unsigned int *)(a1 + 508)); v6 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(&v22, v6); v23.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0xC8u); v23.__r_.__value_.__r.__words[0] = 201; v23.__r_.__value_.__l.__size_ = 194; strcpy( v23.__r_.__value_.__l.__data_, "100a0a0.88a0.21a-1a90a180a5a5a48a82a0a0a0a0a0a0a7a2a0a360a0.411765a1a1a1a0a1a1a0a3a2a0a60a0a0a0.737255a0a0.160784a0a" "1a0a0.16a0.1a0.51a0.12a0a0a0a0a0a0a0a2a1a1a0a0a166a0a0a0a0a0a0a0a0a1a1a0a0a0a0"); v7 = GameToolbox::particleFromString((unsigned __int8 *)&v23, 0, 0); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 1584LL))(v7, 1); (*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)a1 + 464LL))(a1, v7, 15); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v7 + 160LL))(v7, 1.6); sub_100278250(v25.f32, 30.0, 70.0); (*(void (__fastcall **)(__int64, __m128 *))(*(_QWORD *)v7 + 960LL))(v7, &v25); cocos2d::CCParticleSystem::resetSystem(v7); v8 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 512LL))(v5); v9 = (unsigned int *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 192LL))(v5); cocos2d::CCNode::convertToWorldSpace((double *)v24.i64, v8, v9); cocos2d::CCNode::convertToNodeSpace((double *)v25.i64, a1, (unsigned int *)&v24); (*(void (__fastcall **)(__int64, __m128 *))(*(_QWORD *)v7 + 184LL))(v7, &v25); v10 = 0; v11 = 0; v11.f32[0] = (float)(unsigned __int8)*(_WORD *)(v5 + 336) / 255.0; a4.f32[0] = (float)HIBYTE(*(unsigned __int16 *)(v5 + 336)) / 255.0; v10.f32[0] = (float)*(unsigned __int8 *)(v5 + 338) / 255.0; v25 = _mm_movelh_ps(_mm_insert_ps(v11, a4, 16), _mm_blend_ps(v10, (__m128)xmmword_100A03610, 14)); (*(void (__fastcall **)(__int64, __m128 *))(*(_QWORD *)v7 + 1360LL))(v7, &v25); v12 = 0; v13 = 0; v13.f32[0] = (float)(unsigned __int8)*(_WORD *)(v5 + 336) / 255.0; v14 = 0; v14.f32[0] = (float)HIBYTE(*(unsigned __int16 *)(v5 + 336)) / 255.0; v12.f32[0] = (float)*(unsigned __int8 *)(v5 + 338) / 255.0; v25 = _mm_movelh_ps(_mm_insert_ps(v13, v14, 16), _mm_blend_ps(v12, (__m128)xmmword_100A03610, 14)); (*(void (__fastcall **)(__int64, __m128 *))(*(_QWORD *)v7 + 1392LL))(v7, &v25); std::string::assign( &v23, "30a0a1.15a0.3a-1a110a97a0a8a44a71a0a0a0a0a0a0a75a12a0a0a1a0.4a0.890196a0.4a0a0.4a0.51a0.22a-5a1a0a0a1a0a0a0a0.078431" "4a0a0a0a0.16a0a0.25a0a0a0a0a0a0a0a0a2a0a0a0a0a159a0a0.35a0a0a0a0a1a0a1a0a0a0a0a0"); v15 = GameToolbox::particleFromString((unsigned __int8 *)&v23, 0, 0); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v15 + 1584LL))(v15, 1); (*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)a1 + 464LL))(a1, v15, 16); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v15 + 160LL))(v15, 2.2); cocos2d::CCParticleSystem::resetSystem(v15); v16 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 512LL))(v5); v17 = (unsigned int *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 192LL))(v5); cocos2d::CCNode::convertToWorldSpace((double *)v24.i64, v16, v17); cocos2d::CCNode::convertToNodeSpace((double *)v25.i64, a1, (unsigned int *)&v24); (*(void (__fastcall **)(__int64, __m128 *))(*(_QWORD *)v15 + 184LL))(v15, &v25); sub_100278250(v25.f32, 10.0, 40.0); (*(void (__fastcall **)(__int64, __m128 *))(*(_QWORD *)v15 + 960LL))(v15, &v25); v18 = 0; v19 = 0; v19.f32[0] = (float)(unsigned __int8)*(_WORD *)(v5 + 336) / 255.0; v14.f32[0] = (float)HIBYTE(*(unsigned __int16 *)(v5 + 336)) / 255.0; v18.f32[0] = (float)*(unsigned __int8 *)(v5 + 338) / 255.0; v20 = _mm_blend_ps(v18, (__m128)xmmword_100A03610, 14); v25 = _mm_movelh_ps(_mm_insert_ps(v19, v14, 16), v20); v24 = v25; v25.i32[3] = 1008981770; v24.i32[3] = 0; (*(void (__fastcall **)(__int64, __m128 *))(*(_QWORD *)v15 + 1360LL))(v15, &v25); (*(void (__fastcall **)(__int64, __m128 *))(*(_QWORD *)v15 + 1392LL))(v15, &v24); v21 = GameManager::sharedState(); GameManager::fadeInMenuMusic(v21, *(double *)v20.i64); if ( (*(_BYTE *)&v23.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v23.__r_.__value_.__l.__data_); }
GD Web Decomp Icon

GD Web Decomp

Raw Source