//
// cocos2d::CCGrid3D::reuse from 0x1004df5e0 to 0x1004df64a (106 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b61200
//
// 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:17 +0000
//
void *__fastcall cocos2d::CCGrid3D::reuse(__int64 a1)
{
__m128 v1; // xmm0
void *result; // rax
if ( *(int *)(a1 + 60) > 0 )
{
v1 = _mm_add_ps((__m128)*(unsigned __int64 *)(a1 + 64), (__m128)xmmword_100A038B0);
result = memcpy(
*(void **)(a1 + 136),
*(const void **)(a1 + 128),
(unsigned int)(int)(float)((float)(_mm_movehdup_ps(v1).f32[0] * v1.f32[0]) * 12.0));
--*(_DWORD *)(a1 + 60);
}
return result;
}