{"type": "func", "start": 4298324288, "end": 4298324384, "name": "GameStatsManager::storeChallengeTime", "pseudocode": "// \n// GameStatsManager::storeChallengeTime from 0x100333940 to 0x1003339a0 (96 bytes)\n// \n// 1 xrefs:\n// > GameLevelManager::onGetGJChallengesCompleted @ 0x10008fdac\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 v4; // [xsp+0h] [xbp-20h] BYREF\n\n  ftime(&v4);\n  a1->m_challengeTime = (double)(v4.millitm + 1000 * (unsigned __int64)(v4.time & 0xFFFFF)) / 1000.0 + (double)a2;\n}", "assembly": "; \n; GameStatsManager::storeChallengeTime from 0x100333940 to 0x1003339a0 (96 bytes)\n; \n; 1 xrefs:\n; > GameLevelManager::onGetGJChallengesCompleted @ 0x10008fdac\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             SP, SP, #0x30                                          ; +0x0, 0x100333940\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x100333944\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x100333948\nADD             X29, SP, #0x20                                         ; +0xc, 0x10033394c\nMOV             X19, X1                                                ; +0x10, 0x100333950\nMOV             X20, X0                                                ; +0x14, 0x100333954\nMOV             X0, SP; timeb *                                        ; +0x18, 0x100333958\nBL              _ftime                                                 ; +0x1c, 0x10033395c\nLDRH            W8, [SP,#0x20+var_18]                                  ; +0x20, 0x100333960\nLDR             X9, [SP,#0x20+var_20]                                  ; +0x24, 0x100333964\nAND             X9, X9, #0xFFFFF                                       ; +0x28, 0x100333968\nMOV             W10, #0x3E8                                            ; +0x2c, 0x10033396c\nUMADDL          X8, W9, W10, X8                                        ; +0x30, 0x100333970\nUCVTF           D0, X8                                                 ; +0x34, 0x100333974\nADRP            X8, #qword_1006356B0@PAGE                              ; +0x38, 0x100333978\nLDR             D1, [X8,#qword_1006356B0@PAGEOFF]                      ; +0x3c, 0x10033397c\nFDIV            D0, D0, D1                                             ; +0x40, 0x100333980\nSCVTF           D1, W19                                                ; +0x44, 0x100333984\nFADD            D0, D0, D1                                             ; +0x48, 0x100333988\nSTR             D0, [X20,#0x200]                                       ; +0x4c, 0x10033398c\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x50, 0x100333990\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x54, 0x100333994\nADD             SP, SP, #0x30 ; '0'                                    ; +0x58, 0x100333998\nRET                                                                    ; +0x5c, 0x10033399c", "xrefs": ["GameLevelManager::onGetGJChallengesCompleted @ 0x10008fdac"], "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"}