//
// cocos2d::CCTime::timersubCocos2d from 0x10026c39c to 0x10026c3e8 (76 bytes)
//
// 1 xrefs:
// > CCScrollLayerExt::ccTouchEnded @ 0x10039dea4
//
// 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:44 +0000
//
double __fastcall cocos2d::CCTime::timersubCocos2d(__int64 a1, __int64 a2)
{
double result; // d0
result = 0.0;
if ( a1 )
{
if ( a2 )
return (double)*(int *)(a2 + 8) / 1000.0
+ (double)*(__int64 *)a2 * 1000.0
- ((double)*(int *)(a1 + 8) / 1000.0
+ (double)*(__int64 *)a1 * 1000.0);
}
return result;
}