//
// cocos2d::CCTime::timersubCocos2d from 0x7e9fd8 to 0x7ea020 (72 bytes)
//
// 1 xrefs:
// > CCScrollLayerExt::ccTouchEnded @ 0x3c8d88
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:58 +0000
//
__int64 __fastcall cocos2d::CCTime::timersubCocos2d(int *a1, int *a2)
{
double v2; // d7
if ( a1 && a2 )
v2 = (double)a2[1] / 1000.0 + (double)*a2 * 1000.0 - ((double)a1[1] / 1000.0 + (double)*a1 * 1000.0);
else
v2 = 0.0;
return *(_QWORD *)&v2;
}