{"type": "func", "start": 4295437648, "end": 4295437736, "name": "GameStatsManager::storeChallengeTime", "pseudocode": "// \n// GameStatsManager::storeChallengeTime from 0x100072d50 to 0x100072da8 (88 bytes)\n// \n// 1 xrefs:\n// > GameLevelManager::onGetGJChallengesCompleted @ 0x100528268\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\nvoid __fastcall GameStatsManager::storeChallengeTime(GameStatsManager *a1, int a2)\n{\n  timeb v2; // [rsp+0h] [rbp-20h] BYREF\n\n  ftime(&v2);\n  a1->m_challengeTime = (double)a2 + (double)(v2.millitm + 1000 * (v2.time & 0xFFFFF)) / 1000.0;\n}", "assembly": "; \n; GameStatsManager::storeChallengeTime from 0x100072d50 to 0x100072da8 (88 bytes)\n; \n; 1 xrefs:\n; > GameLevelManager::onGetGJChallengesCompleted @ 0x100528268\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\npush    rbp                                                            ; +0x0, 0x100072d50\nmov     rbp, rsp                                                       ; +0x1, 0x100072d51\npush    r14                                                            ; +0x4, 0x100072d54\npush    rbx                                                            ; +0x6, 0x100072d56\nsub     rsp, 10h                                                       ; +0x7, 0x100072d57\nmov     ebx, esi                                                       ; +0xb, 0x100072d5b\nmov     r14, rdi                                                       ; +0xd, 0x100072d5d\nlea     rdi, [rbp+var_20]; timeb *                                     ; +0x10, 0x100072d60\ncall    _ftime                                                         ; +0x14, 0x100072d64\nmovzx   eax, [rbp+var_20.millitm]                                      ; +0x19, 0x100072d69\nmov     rcx, [rbp+var_20.time]                                         ; +0x1d, 0x100072d6d\nand     ecx, 0FFFFFh                                                   ; +0x21, 0x100072d71\nimul    rcx, 3E8h                                                      ; +0x27, 0x100072d77\nadd     rcx, rax                                                       ; +0x2e, 0x100072d7e\ncvtsi2sd xmm0, rcx                                                     ; +0x31, 0x100072d81\ndivsd   xmm0, cs:qword_100815208                                       ; +0x36, 0x100072d86\ncvtsi2sd xmm1, ebx                                                     ; +0x3e, 0x100072d8e\naddsd   xmm1, xmm0                                                     ; +0x42, 0x100072d92\nmovsd   qword ptr [r14+200h], xmm1                                     ; +0x46, 0x100072d96\nadd     rsp, 10h                                                       ; +0x4f, 0x100072d9f\npop     rbx                                                            ; +0x53, 0x100072da3\npop     r14                                                            ; +0x54, 0x100072da4\npop     rbp                                                            ; +0x56, 0x100072da6\nretn                                                                   ; +0x57, 0x100072da7", "xrefs": ["GameLevelManager::onGetGJChallengesCompleted @ 0x100528268"], "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"}