//
// -[CCDirectorCaller doCaller:] from 0x1002130b0 to 0x100213128 (120 bytes)
//
// 1 xrefs:
// > ??> @ 0x100845e58
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __cdecl -[CCDirectorCaller doCaller:](CCDirectorCaller *self, SEL a2, id a3)
{
double v4; // d0
float v5; // s8
cocos2d::CCDirector *v6; // x0
cocos2d::CCDirector *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 *)(cocos2d::CCDirector *))v7->mainLoop)(v7);
objc_msgSend(self->displayLink, "timestamp");
self->_lastTime = v8;
}