//
// cocos2d::CCTiledGrid3D::reuse from 0xd4ea7c to 0xd4ead8 (92 bytes)
//
// 2 xrefs:
// > ??> @ 0x81e80
// > ??> @ 0x1517078
//
// This function is hookable on this platform (idp: arm, 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 13:07:39 +0000
//
__int64 __fastcall cocos2d::CCTiledGrid3D::reuse(__int64 this)
{
__int64 v1; // x19
if ( *(int *)(this + 60) > 0 )
{
v1 = this;
memcpy(
*(void **)(this + 136),
*(const void **)(v1 + 128),
48LL * (int)(float)(*(float *)(this + 64) * *(float *)(v1 + 68)));
this = (unsigned int)(*(_DWORD *)(v1 + 60) - 1);
*(_DWORD *)(v1 + 60) = this;
}
return this;
}