//
// -[CCDirectorCaller doCaller:] from 0x1002af794 to 0x1002af80c (120 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009cdce0
//
// 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:02:19 +0000
//
void __cdecl -[CCDirectorCaller doCaller:](CCDirectorCaller *self, SEL a2, id a3)
{
double v4; // d0
float v5; // s8
__int64 v6; // x0
__int64 v7; // x0
double v8; // d0
if ( self->_lastTime <= 0.0 )
{
v5 = 0.016667;
}
else
{
objc_msgSend(self->displayLink, "timestamp", a3);
v5 = v4 - self->_lastTime;
}
v6 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::setDeltaTime(v6, v5);
v7 = cocos2d::CCDirector::sharedDirector();
(*(void (__fastcall **)(__int64))(*(_QWORD *)v7 + 120LL))(v7);
objc_msgSend(self->displayLink, "timestamp");
self->_lastTime = v8;
}