// // MenuGameLayer::destroyPlayer from 0x1004f9dd0 to 0x1004f9fb2 (482 bytes) // // 1 xrefs: // > MenuGameLayer::ccTouchBegan @ 0x1004fa0ba // // 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:31:28 +0000 // __int64 __fastcall MenuGameLayer::destroyPlayer(__int64 a1, double a2, double a3, double a4, __m128 a5) { __int64 v5; // rax __int64 v6; // rax __int64 v7; // r14 __int64 v8; // rax __int64 v9; // rax __m128 v10; // xmm0 __m128 v11; // xmm1 __int64 v12; // r14 __int64 v13; // rax __int16 v14; // cx __int64 v15; // rax __m128 v17; // [rsp+8h] [rbp-38h] BYREF char v18; // [rsp+18h] [rbp-28h] BYREF void *v19[4]; // [rsp+19h] [rbp-27h] BYREF *(_BYTE *)(a1 + 412) = 1; v5 = GameStatsManager::sharedState(); GameStatsManager::incrementStat_1(v5, (__int64)"9"); v6 = FMODAudioEngine::sharedEngine(); v18 = 28; strcpy((char *)v19, "explode_11.ogg"); FMODAudioEngine::playEffect(v6, (__int64)&v18, (__m128)0x3F800000u, 0.0, 0.5); if ( (v18 & 1) != 0 ) operator delete(*(void **)((char *)&v19[1] + 7)); v7 = cocos2d::CCParticleSystemQuad::create("explodeEffect.plist", 0); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 1568LL))(v7, 2); (*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)a1 + 464LL))(a1, v7, 1); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 1584LL))(v7, 1); v8 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 432) + 192LL))(*(_QWORD *)(a1 + 432)); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 184LL))(v7, v8); v9 = *(_QWORD *)(a1 + 432); v10 = 0; v11 = 0; v11.f32[0] = (float)(unsigned __int8)*(_WORD *)(v9 + 2602) / 255.0; a5.f32[0] = (float)HIBYTE(*(unsigned __int16 *)(v9 + 2602)) / 255.0; v10.f32[0] = (float)*(unsigned __int8 *)(v9 + 2604) / 255.0; v17 = _mm_movelh_ps(_mm_insert_ps(v11, a5, 16), _mm_blend_ps(v10, (__m128)xmmword_100A03610, 14)); (*(void (__fastcall **)(__int64, __m128 *))(*(_QWORD *)v7 + 1360LL))(v7, &v17); cocos2d::CCParticleSystem::resetSystem(v7); v12 = CCCircleWave::create_1(0, 10.0, 90.0, 0.5); v13 = *(_QWORD *)(a1 + 432); v14 = *(_WORD *)(v13 + 2602); *(_BYTE *)(v12 + 342) = *(_BYTE *)(v13 + 2604); *(_WORD *)(v12 + 340) = v14; v15 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 432) + 192LL))(*(_QWORD *)(a1 + 432)); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v12 + 184LL))(v12, v15); *(double *)v10.i64 = (*(double (__fastcall **)(__int64, __int64, _QWORD))(*(_QWORD *)a1 + 464LL))(a1, v12, 0); return MenuGameLayer::resetPlayer(a1, *(double *)v10.i64, COERCE_DOUBLE(1119092736), (__m128)0x3F000000u, a5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source