//
// cocos2d::CCDisplayLinkDirector::setAnimationInterval from 0xd48618 to 0xd4865c (68 bytes)
//
// 2 xrefs:
// > ??> @ 0xcd8d0
// > ??> @ 0x15168e0
//
// 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:36 +0000
//
__int64 __fastcall cocos2d::CCDisplayLinkDirector::setAnimationInterval(__int64 this, double a2)
{
int v2; // w2
__int64 v3; // x19
v2 = *(unsigned __int8 *)(this + 406);
*(double *)(this + 200) = a2;
if ( !v2 )
{
v3 = this;
(*(void (__fastcall **)(__int64))(*(_QWORD *)this + 104LL))(this);
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 112LL))(v3);
}
return this;
}