{"type": "func", "start": 10932456, "end": 10932600, "name": "DailyLevelPage::getDailyTime", "pseudocode": "// \n// DailyLevelPage::getDailyTime from 0xa6d0e8 to 0xa6d178 (144 bytes)\n// \n// 2 xrefs:\n// > DailyLevelPage::updateTimers @ 0xa6dc24\n// > <???> @ 0xf67c0\n// \n// This function is hookable on this platform (idp: arm, 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 13:00:21 +0000\n// \n\n__int64 __fastcall DailyLevelPage::getDailyTime(DailyLevelPage *this)\n{\n  double v2; // d8\n  unsigned int *v3; // x0\n  __int64 result; // x0\n  GameLevelManager *v5; // [xsp+38h] [xbp+38h] BYREF\n  __int64 v6; // [xsp+40h] [xbp+40h]\n\n  clock_gettime(0, (struct timespec *)&v5);\n  v2 = (double)(__int64)v5 + (double)v6 / 1000000000.0;\n  v3 = (unsigned int *)GameLevelManager::sharedState(v5);\n  LODWORD(result) = (int)((double)(int)GameLevelManager::getDailyTimer(v3, *((_DWORD *)this + 183)) - v2);\n  if ( (int)result < 0 )\n    return 0;\n  else\n    return (unsigned int)result;\n}", "assembly": "; \n; DailyLevelPage::getDailyTime from 0xa6d0e8 to 0xa6d178 (144 bytes)\n; \n; 2 xrefs:\n; > DailyLevelPage::updateTimers @ 0xa6dc24\n; > <???> @ 0xf67c0\n; \n; This function is hookable on this platform (idp: arm, 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 13:00:21 +0000\n; \nSTP             X29, X30, [SP,#var_50]!                                ; +0x0, 0xa6d0e8\nMOV             X29, SP                                                ; +0x4, 0xa6d0ec\nSTP             X19, X20, [SP,#0x50+var_40]                            ; +0x8, 0xa6d0f0\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0xa6d0f4\nADD             X1, X29, #0x50+var_18; tp                              ; +0x10, 0xa6d0f8\nSTR             D8, [SP,#0x50+var_30]                                  ; +0x14, 0xa6d0fc\nMOV             X20, X0                                                ; +0x18, 0xa6d100\nMOV             W0, #0; clock_id                                       ; +0x1c, 0xa6d104\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x20, 0xa6d108\nLDR             X2, [X19]                                              ; +0x24, 0xa6d10c\nSTR             X2, [X29,#0x50+var_8]                                  ; +0x28, 0xa6d110\nBL              .clock_gettime                                         ; +0x2c, 0xa6d114\nLDR             X1, [X29,#0x50+var_10]                                 ; +0x30, 0xa6d118\nLDR             D8, =0x41CDCD6500000000                                ; +0x34, 0xa6d11c\nLDR             X0, [X29,#0x50+var_18]; this                           ; +0x38, 0xa6d120\nSCVTF           D0, X1                                                 ; +0x3c, 0xa6d124\nSCVTF           D1, X0                                                 ; +0x40, 0xa6d128\nFDIV            D8, D0, D8                                             ; +0x44, 0xa6d12c\nFADD            D8, D1, D8                                             ; +0x48, 0xa6d130\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x4c, 0xa6d134\nLDR             W1, [X20,#0x2DC]                                       ; +0x50, 0xa6d138\nBL              _ZN16GameLevelManager13getDailyTimerE16GJTimedLevelType; GameLevelManager::getDailyTimer(GJTimedLevelType) ; +0x54, 0xa6d13c\nSCVTF           D1, W0                                                 ; +0x58, 0xa6d140\nLDR             X2, [X29,#0x50+var_8]                                  ; +0x5c, 0xa6d144\nLDR             X1, [X19]                                              ; +0x60, 0xa6d148\nFSUB            D0, D1, D8                                             ; +0x64, 0xa6d14c\nFCVTZS          W0, D0                                                 ; +0x68, 0xa6d150\nCMP             W0, WZR                                                ; +0x6c, 0xa6d154\nCSEL            W0, W0, WZR, GE                                        ; +0x70, 0xa6d158\nCMP             X2, X1                                                 ; +0x74, 0xa6d15c\nB.NE            loc_A6D174                                             ; +0x78, 0xa6d160\nLDP             X19, X20, [SP,#0x50+var_40]                            ; +0x7c, 0xa6d164\nLDR             D8, [SP,#0x50+var_30]                                  ; +0x80, 0xa6d168\nLDP             X29, X30, [SP+0x50+var_50],#0x50                       ; +0x84, 0xa6d16c\nRET                                                                    ; +0x88, 0xa6d170\nBL              .__stack_chk_fail                                      ; +0x8c, 0xa6d174", "xrefs": ["DailyLevelPage::updateTimers @ 0xa6dc24", "<???> @ 0xf67c0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}