{"type": "func", "start": 6443243760, "end": 6443243841, "name": "cocos2d::CCDirector::calculateMPF", "pseudocode": "// \n// cocos2d::CCDirector::calculateMPF from 0x1800c18f0 to 0x1800c1941 (81 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c3414\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:22:25 +0000\n// \n\nvoid __fastcall cocos2d::CCDirector::calculateMPF(cocos2d::CCDirector *this, __int64 a2, struct cocos2d::timezone *a3)\n{\n  int v4; // [rsp+30h] [rbp+8h] BYREF\n  int v5; // [rsp+34h] [rbp+Ch]\n\n  cocos2d::CCTime::gettimeofdayCocos2d((struct cocos2d::cc_timeval *)&v4, nullptr, a3);\n  *((float *)this + 67) = (float)((float)(v5 - *(_DWORD *)(*((_QWORD *)this + 38) + 4LL)) / 1000000.0)\n                        + (float)(v4 - **((_DWORD **)this + 38));\n}", "assembly": "; \n; cocos2d::CCDirector::calculateMPF from 0x1800c18f0 to 0x1800c1941 (81 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c3414\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:22:25 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800c18f0\nsub     rsp, 20h                                                       ; +0x2, 0x1800c18f2\nmov     rbx, rcx                                                       ; +0x6, 0x1800c18f6\nxor     edx, edx; void *                                               ; +0x9, 0x1800c18f9\nlea     rcx, [rsp+28h+arg_0]; struct cocos2d::cc_timeval *             ; +0xb, 0x1800c18fb\ncall    ?gettimeofdayCocos2d@CCTime@cocos2d@@SAHPEAUcc_timeval@2@PEAX@Z; cocos2d::CCTime::gettimeofdayCocos2d(cocos2d::cc_timeval *,void *) ; +0x10, 0x1800c1900\nmov     rdx, [rbx+130h]                                                ; +0x15, 0x1800c1905\nmov     eax, [rsp+28h+arg_4]                                           ; +0x1c, 0x1800c190c\nsub     eax, [rdx+4]                                                   ; +0x20, 0x1800c1910\nmovd    xmm1, eax                                                      ; +0x23, 0x1800c1913\nmov     eax, [rsp+28h+arg_0]                                           ; +0x27, 0x1800c1917\nsub     eax, [rdx]                                                     ; +0x2b, 0x1800c191b\ncvtdq2ps xmm1, xmm1                                                    ; +0x2d, 0x1800c191d\nmovd    xmm0, eax                                                      ; +0x30, 0x1800c1920\ndivss   xmm1, cs:dword_18010DCF8                                       ; +0x34, 0x1800c1924\ncvtdq2ps xmm0, xmm0                                                    ; +0x3c, 0x1800c192c\naddss   xmm1, xmm0                                                     ; +0x3f, 0x1800c192f\nmovss   dword ptr [rbx+10Ch], xmm1                                     ; +0x43, 0x1800c1933\nadd     rsp, 20h                                                       ; +0x4b, 0x1800c193b\npop     rbx                                                            ; +0x4f, 0x1800c193f\nretn                                                                   ; +0x50, 0x1800c1940", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801c3414"], "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"}