{"type": "func", "start": 6442920368, "end": 6442920391, "name": "cocos2d::CCTime::gettimeofdayCocos2d", "pseudocode": "// \n// cocos2d::CCTime::gettimeofdayCocos2d from 0x1800729b0 to 0x1800729c7 (23 bytes)\n// \n// 7 xrefs:\n// > cocos2d::CCDirector::calculateDeltaTime @ 0x1800be030\n// > cocos2d::CCDirector::calculateMPF @ 0x1800be0e0\n// > cocos2d::CCDirector::drawScene @ 0x1800be4a4\n// > cocos2d::CCDirector::resume @ 0x1800bf2d9\n// > cocos2d::CCDisplayLinkDirector::startAnimation @ 0x1800bff02\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b43a4\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n__int64 __fastcall cocos2d::CCTime::gettimeofdayCocos2d(\n        struct cocos2d::cc_timeval *a1,\n        void *a2,\n        struct cocos2d::timezone *a3)\n{\n  if ( a1 )\n    cocos2d::gettimeofday((cocos2d *)a1, nullptr, a3);\n  return 0;\n}", "assembly": "; \n; cocos2d::CCTime::gettimeofdayCocos2d from 0x1800729b0 to 0x1800729c7 (23 bytes)\n; \n; 7 xrefs:\n; > cocos2d::CCDirector::calculateDeltaTime @ 0x1800be030\n; > cocos2d::CCDirector::calculateMPF @ 0x1800be0e0\n; > cocos2d::CCDirector::drawScene @ 0x1800be4a4\n; > cocos2d::CCDirector::resume @ 0x1800bf2d9\n; > cocos2d::CCDisplayLinkDirector::startAnimation @ 0x1800bff02\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b43a4\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nsub     rsp, 28h                                                       ; +0x0, 0x1800729b0\ntest    rcx, rcx                                                       ; +0x4, 0x1800729b4\njz      short loc_1800729C0                                            ; +0x7, 0x1800729b7\nxor     edx, edx; struct timeval *                                     ; +0x9, 0x1800729b9\ncall    ?gettimeofday@cocos2d@@YAHPEAUtimeval@@PEAUtimezone@1@@Z; cocos2d::gettimeofday(timeval *,cocos2d::timezone *) ; +0xb, 0x1800729bb\nxor     eax, eax                                                       ; +0x10, 0x1800729c0\nadd     rsp, 28h                                                       ; +0x12, 0x1800729c2\nretn                                                                   ; +0x16, 0x1800729c6", "xrefs": ["cocos2d::CCDirector::calculateDeltaTime @ 0x1800be030", "cocos2d::CCDirector::calculateMPF @ 0x1800be0e0", "cocos2d::CCDirector::drawScene @ 0x1800be4a4", "cocos2d::CCDirector::resume @ 0x1800bf2d9", "cocos2d::CCDisplayLinkDirector::startAnimation @ 0x1800bff02", "<???> @ 0x1801438a8", "<???> @ 0x1801b43a4"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}