//
// cocos2d::CCGrid3D::reuse from 0x1004e45f0 to 0x1004e465a (106 bytes)
//
// 1 xrefs:
// > ??> @ 0x100955d90
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall cocos2d::CCGrid3D::reuse(cocos2d::CCGrid3D *a1)
{
__m128 v1; // xmm0
if ( a1->m_nReuseGrid > 0 )
{
v1 = _mm_add_ps((__m128)(unsigned __int64)a1->m_sGridSize, (__m128)xmmword_1008154E0);
memcpy(
*(void **)&a1[1].m_nTag,
*(const void **)&a1[1].m_uID,
(unsigned int)(int)(float)((float)(_mm_movehdup_ps(v1).f32[0] * v1.f32[0]) * 12.0));
--a1->m_nReuseGrid;
}
}