{"type": "func", "start": 6442929936, "end": 6442930017, "name": "cocos2d::CCTime::timersubCocos2d", "pseudocode": "// \n// cocos2d::CCTime::timersubCocos2d from 0x180074f10 to 0x180074f61 (81 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x18014cf68\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:21:58 +0000\n// \n\ndouble __fastcall cocos2d::CCTime::timersubCocos2d(struct cocos2d::cc_timeval *a1, struct cocos2d::cc_timeval *a2)\n{\n  if ( a1 && a2 )\n    return (double)*((int *)a2 + 1) / 1000.0\n         + (double)*(int *)a2 * 1000.0\n         - ((double)*((int *)a1 + 1) / 1000.0\n          + (double)*(int *)a1 * 1000.0);\n  else\n    return 0.0;\n}", "assembly": "; \n; cocos2d::CCTime::timersubCocos2d from 0x180074f10 to 0x180074f61 (81 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x18014cf68\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:21:58 +0000\n; \ntest    rcx, rcx                                                       ; +0x0, 0x180074f10\njz      short loc_180074F5D                                            ; +0x3, 0x180074f13\ntest    rdx, rdx                                                       ; +0x5, 0x180074f15\njz      short loc_180074F5D                                            ; +0x8, 0x180074f18\nmovsd   xmm3, cs:qword_180106C78                                       ; +0xa, 0x180074f1a\nxorps   xmm0, xmm0                                                     ; +0x12, 0x180074f22\ncvtsi2sd xmm0, dword ptr [rdx+4]                                       ; +0x15, 0x180074f25\nxorps   xmm1, xmm1                                                     ; +0x1a, 0x180074f2a\nxorps   xmm2, xmm2                                                     ; +0x1d, 0x180074f2d\ncvtsi2sd xmm1, dword ptr [rdx]                                         ; +0x20, 0x180074f30\ncvtsi2sd xmm2, dword ptr [rcx+4]                                       ; +0x24, 0x180074f34\nmulsd   xmm1, xmm3                                                     ; +0x29, 0x180074f39\ndivsd   xmm0, xmm3                                                     ; +0x2d, 0x180074f3d\ndivsd   xmm2, xmm3                                                     ; +0x31, 0x180074f41\naddsd   xmm0, xmm1                                                     ; +0x35, 0x180074f45\nxorps   xmm1, xmm1                                                     ; +0x39, 0x180074f49\ncvtsi2sd xmm1, dword ptr [rcx]                                         ; +0x3c, 0x180074f4c\nmulsd   xmm1, xmm3                                                     ; +0x40, 0x180074f50\naddsd   xmm2, xmm1                                                     ; +0x44, 0x180074f54\nsubsd   xmm0, xmm2                                                     ; +0x48, 0x180074f58\nretn                                                                   ; +0x4c, 0x180074f5c\nxorps   xmm0, xmm0                                                     ; +0x4d, 0x180074f5d\nretn                                                                   ; +0x50, 0x180074f60", "xrefs": ["<???> @ 0x18014cf68"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}