//
// cocos2d::CCTime::timersubCocos2d from 0xb09b18 to 0xb09b64 (76 bytes)
//
// 2 xrefs:
// > CCScrollLayerExt::ccTouchEnded @ 0x579f98
// > ??> @ 0x54480
//
// 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
//
double cocos2d::CCTime::timersubCocos2d(cocos2d::cc_timeval *a1, cocos2d::cc_timeval *a2)
{
if ( a1 && a2 )
return (double)a2->tv_usec / 1000.0
+ (double)a2->tv_sec * 1000.0
- ((double)a1->tv_usec / 1000.0
+ (double)a1->tv_sec * 1000.0);
else
return 0.0;
}