//
// cocos2d::CCReuseGrid::startWithTarget from 0xd2b9c4 to 0xd2ba54 (144 bytes)
//
// 2 xrefs:
// > ??> @ 0xed0e8
// > ??> @ 0x15125f8
//
// 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:17 +0000
//
__int64 __fastcall cocos2d::CCReuseGrid::startWithTarget(__int64 a1, __int64 a2)
{
__int64 result; // x0
__int64 v4; // x20
cocos2d::CCAction::startWithTarget(a1, a2);
result = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 64) + 608LL))(*(_QWORD *)(a1 + 64));
if ( result )
{
result = *(unsigned __int8 *)((*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 64) + 608LL))(*(_QWORD *)(a1 + 64))
+ 56);
if ( (_DWORD)result )
{
v4 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 64) + 608LL))(*(_QWORD *)(a1 + 64));
result = *(unsigned int *)((*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 64) + 608LL))(*(_QWORD *)(a1 + 64))
+ 60);
*(_DWORD *)(v4 + 60) = result + *(_DWORD *)(a1 + 84);
}
}
return result;
}