{"type": "func", "start": 4295198768, "end": 4295198848, "name": "GameStatsManager::storeChallengeTime", "pseudocode": "// \n// GameStatsManager::storeChallengeTime from 0x100038830 to 0x100038880 (80 bytes)\n// \n// 1 xrefs:\n// > sub_10052CE00 @ 0x10052d978\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 12:19:32 +0000\n// \n\n__int64 __fastcall GameStatsManager::storeChallengeTime(__int64 a1, int a2)\n{\n  __int64 result; // rax\n  timeb v3; // [rsp+0h] [rbp-20h] BYREF\n\n  ftime(&v3);\n  result = v3.millitm;\n  *(double *)(a1 + 512) = (double)a2 + (double)v3.millitm / 1000.0 + (double)SLODWORD(v3.time);\n  return result;\n}", "assembly": "; \n; GameStatsManager::storeChallengeTime from 0x100038830 to 0x100038880 (80 bytes)\n; \n; 1 xrefs:\n; > sub_10052CE00 @ 0x10052d978\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 12:19:32 +0000\n; \npush    rbp                                                            ; +0x0, 0x100038830\nmov     rbp, rsp                                                       ; +0x1, 0x100038831\npush    r14                                                            ; +0x4, 0x100038834\npush    rbx                                                            ; +0x6, 0x100038836\nsub     rsp, 10h                                                       ; +0x7, 0x100038837\nmov     ebx, esi                                                       ; +0xb, 0x10003883b\nmov     r14, rdi                                                       ; +0xd, 0x10003883d\nlea     rdi, [rbp+var_20]; timeb *                                     ; +0x10, 0x100038840\ncall    _ftime                                                         ; +0x14, 0x100038844\ncvtsi2sd xmm0, [rbp+var_20.time]                                       ; +0x19, 0x100038849\nmovzx   eax, [rbp+var_20.millitm]                                      ; +0x1f, 0x10003884f\ncvtsi2sd xmm1, eax                                                     ; +0x23, 0x100038853\ndivsd   xmm1, cs:qword_100A03B70                                       ; +0x27, 0x100038857\naddsd   xmm1, xmm0                                                     ; +0x2f, 0x10003885f\nxorps   xmm0, xmm0                                                     ; +0x33, 0x100038863\ncvtsi2sd xmm0, ebx                                                     ; +0x36, 0x100038866\naddsd   xmm0, xmm1                                                     ; +0x3a, 0x10003886a\nmovsd   qword ptr [r14+200h], xmm0                                     ; +0x3e, 0x10003886e\nadd     rsp, 10h                                                       ; +0x47, 0x100038877\npop     rbx                                                            ; +0x4b, 0x10003887b\npop     r14                                                            ; +0x4c, 0x10003887c\npop     rbp                                                            ; +0x4e, 0x10003887e\nretn                                                                   ; +0x4f, 0x10003887f", "xrefs": ["sub_10052CE00 @ 0x10052d978"], "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"}