// // cocos2d::CCShuffleTiles::getDelta from 0x10089b260 to 0x10089b2f4 (148 bytes) // // 0 xrefs: // // 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:37:08 +0000 // float *__fastcall cocos2d::CCShuffleTiles::getDelta(float *a1, __int64 a2, float *a3) { __int64 v3; // rax float v5; // xmm0_4 float v6; // xmm2_4 float v7; // xmm1_4 __int64 v8; // rcx signed int v9; // eax signed int v10; // edx __m128 v11; // xmm0 __m128 v12; // xmm3 __int64 v14; // [rsp+0h] [rbp-20h] BYREF v14 = v3; sub_1002782A0(&v14); v5 = *(float *)(a2 + 96); v6 = *a3; v7 = a3[1]; v8 = *(_QWORD *)(a2 + 112); v10 = *(_DWORD *)(v8 + 4LL * (unsigned int)(int)(float)((float)(*a3 * v5) + v7)) % (unsigned int)(int)v5; v9 = *(_DWORD *)(v8 + 4LL * (unsigned int)(int)(float)((float)(*a3 * v5) + v7)) / (unsigned int)(int)v5; v11 = 0; v12 = 0; *(float *)&v14 = (float)v9; *((float *)&v14 + 1) = (float)v10; v11.f32[0] = (float)v9 - v6; v12.f32[0] = (float)v10 - v7; sub_100278260(a1, _mm_cvtepi32_ps(_mm_cvttps_epi32(v11)).f32[0], _mm_cvtepi32_ps(_mm_cvttps_epi32(v12)).f32[0]); return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source