{"type": "func", "start": 4298967928, "end": 4298968052, "name": "GameStatsManager::isDailyRecall", "pseudocode": "// \n// GameStatsManager::isDailyRecall from 0x1003d0b78 to 0x1003d0bf4 (124 bytes)\n// \n// 8 xrefs:\n// > LevelInfoLayer::updateLabelValues @ 0x10002cd50\n// > GJGameLevel::levelHasDiamonds @ 0x1000d49bc\n// > LevelCell::loadCustomLevelCell @ 0x100133914\n// > LevelCell::loadCustomLevelCell @ 0x100135854\n// > LevelCell::recallChestReady @ 0x10013644c\n// > sub_1003D0824 @ 0x1003d0898\n// > GameStatsManager::completedDailyLevel @ 0x1003d2574\n// > sub_1003D2B4C @ 0x1003d2b70\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 11:04:11 +0000\n// \n\nbool __fastcall GameStatsManager::isDailyRecall(__int64 a1, int a2)\n{\n  __int64 v2; // x19\n  void *v3; // x0\n  char *CString; // x0\n  _BOOL8 v5; // x19\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v8; // [xsp+1Fh] [xbp-11h]\n\n  if ( a2 < 1 )\n    return 0;\n  v2 = *(_QWORD *)(a1 + 752);\n  v3 = sub_1003065B0(\"%i\", a2);\n  CString = (char *)cocos2d::CCString::getCString((__int64)v3);\n  sub_100009900(__p, CString);\n  v5 = cocos2d::CCDictionary::objectForKey(v2, __p) != 0;\n  if ( v8 < 0 )\n    operator delete(__p[0]);\n  return v5;\n}", "assembly": "; \n; GameStatsManager::isDailyRecall from 0x1003d0b78 to 0x1003d0bf4 (124 bytes)\n; \n; 8 xrefs:\n; > LevelInfoLayer::updateLabelValues @ 0x10002cd50\n; > GJGameLevel::levelHasDiamonds @ 0x1000d49bc\n; > LevelCell::loadCustomLevelCell @ 0x100133914\n; > LevelCell::loadCustomLevelCell @ 0x100135854\n; > LevelCell::recallChestReady @ 0x10013644c\n; > sub_1003D0824 @ 0x1003d0898\n; > GameStatsManager::completedDailyLevel @ 0x1003d2574\n; > sub_1003D2B4C @ 0x1003d2b70\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 11:04:11 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x1003d0b78\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1003d0b7c\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1003d0b80\nADD             X29, SP, #0x30                                         ; +0xc, 0x1003d0b84\nCMP             W1, #1                                                 ; +0x10, 0x1003d0b88\nB.LT            loc_1003D0BDC                                          ; +0x14, 0x1003d0b8c\nLDR             X19, [X0,#0x2F0]                                       ; +0x18, 0x1003d0b90\nSTR             X1, [SP,#0x30+var_30]                                  ; +0x1c, 0x1003d0b94\nADRL            X0, aI; \"%i\"                                           ; +0x20, 0x1003d0b98\nBL              sub_1003065B0                                          ; +0x28, 0x1003d0ba0\nBL              cocos2d__CCString__getCString                          ; +0x2c, 0x1003d0ba4\nMOV             X1, X0; __s                                            ; +0x30, 0x1003d0ba8\nADD             X0, SP, #0x30+__p; int                                 ; +0x34, 0x1003d0bac\nBL              sub_100009900                                          ; +0x38, 0x1003d0bb0\nADD             X1, SP, #0x30+__p                                      ; +0x3c, 0x1003d0bb4\nMOV             X0, X19                                                ; +0x40, 0x1003d0bb8\nBL              cocos2d__CCDictionary__objectForKey                    ; +0x44, 0x1003d0bbc\nCMP             X0, #0                                                 ; +0x48, 0x1003d0bc0\nCSET            W19, NE                                                ; +0x4c, 0x1003d0bc4\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x50, 0x1003d0bc8\nTBZ             W8, #0x1F, loc_1003D0BE0                               ; +0x54, 0x1003d0bcc\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x58, 0x1003d0bd0\nBL              __ZdlPv; operator delete(void *)                       ; +0x5c, 0x1003d0bd4\nB               loc_1003D0BE0                                          ; +0x60, 0x1003d0bd8\nMOV             W19, #0                                                ; +0x64, 0x1003d0bdc\nMOV             X0, X19                                                ; +0x68, 0x1003d0be0\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x6c, 0x1003d0be4\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x70, 0x1003d0be8\nADD             SP, SP, #0x40 ; '@'                                    ; +0x74, 0x1003d0bec\nRET                                                                    ; +0x78, 0x1003d0bf0", "xrefs": ["LevelInfoLayer::updateLabelValues @ 0x10002cd50", "GJGameLevel::levelHasDiamonds @ 0x1000d49bc", "LevelCell::loadCustomLevelCell @ 0x100133914", "LevelCell::loadCustomLevelCell @ 0x100135854", "LevelCell::recallChestReady @ 0x10013644c", "sub_1003D0824 @ 0x1003d0898", "GameStatsManager::completedDailyLevel @ 0x1003d2574", "sub_1003D2B4C @ 0x1003d2b70"], "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"}