//
// cocos2d::CCRotateTo::initWithDuration from 0x10021e118 to 0x10021e144 (44 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008fbe40
//
// 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 11:01:06 +0000
//
__int64 __fastcall cocos2d::CCRotateTo::initWithDuration(__int64 a1, float a2, float a3, float a4)
{
if ( a2 == 0.0 )
a2 = 0.00000011921;
*(float *)(a1 + 80) = a2;
*(_DWORD *)(a1 + 84) = 0;
*(_BYTE *)(a1 + 88) = 1;
*(float *)(a1 + 92) = a3;
*(float *)(a1 + 104) = a4;
return 1;
}