{"type": "func", "start": 4298975376, "end": 4298975492, "name": "GameStatsManager::hasCompletedDailyStars", "pseudocode": "// \n// GameStatsManager::hasCompletedDailyStars from 0x1003d2890 to 0x1003d2904 (116 bytes)\n// \n// 8 xrefs:\n// > sub_1000A79F0 @ 0x1000a7a24\n// > LevelCell::loadCustomLevelCell @ 0x1001338cc\n// > LevelCell::loadCustomLevelCell @ 0x100133df4\n// > LevelCell::loadCustomLevelCell @ 0x100134b64\n// > LevelCell::loadCustomLevelCell @ 0x100135874\n// > LevelCell::recallChestReady @ 0x10013645c\n// > GameManager::recountUserStats @ 0x1003b6fac\n// > GameStatsManager::completedDailyLevel @ 0x1003d2550\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::hasCompletedDailyStars(__int64 a1, int a2)\n{\n  __int64 v2; // x19\n  void *v3; // x0\n  char *CString; // x0\n  __int64 v5; // x19\n  void *__p[2]; // [xsp+18h] [xbp-28h] BYREF\n  char v8; // [xsp+2Fh] [xbp-11h]\n\n  v2 = *(_QWORD *)(a1 + 608);\n  v3 = sub_1003065B0(\"%s%i\", \"dstar_\", a2);\n  CString = (char *)cocos2d::CCString::getCString((__int64)v3);\n  sub_100009900(__p, CString);\n  v5 = cocos2d::CCDictionary::objectForKey(v2, __p);\n  if ( v8 < 0 )\n    operator delete(__p[0]);\n  return v5 != 0;\n}", "assembly": "; \n; GameStatsManager::hasCompletedDailyStars from 0x1003d2890 to 0x1003d2904 (116 bytes)\n; \n; 8 xrefs:\n; > sub_1000A79F0 @ 0x1000a7a24\n; > LevelCell::loadCustomLevelCell @ 0x1001338cc\n; > LevelCell::loadCustomLevelCell @ 0x100133df4\n; > LevelCell::loadCustomLevelCell @ 0x100134b64\n; > LevelCell::loadCustomLevelCell @ 0x100135874\n; > LevelCell::recallChestReady @ 0x10013645c\n; > GameManager::recountUserStats @ 0x1003b6fac\n; > GameStatsManager::completedDailyLevel @ 0x1003d2550\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, #0x50                                          ; +0x0, 0x1003d2890\nSTP             X20, X19, [SP,#0x40+var_10]                            ; +0x4, 0x1003d2894\nSTP             X29, X30, [SP,#0x40+var_s0]                            ; +0x8, 0x1003d2898\nADD             X29, SP, #0x40                                         ; +0xc, 0x1003d289c\nLDR             X19, [X0,#0x260]                                       ; +0x10, 0x1003d28a0\nADRL            X8, aDstar; \"dstar_\"                                   ; +0x14, 0x1003d28a4\nSTP             X8, X1, [SP,#0x40+var_40]                              ; +0x1c, 0x1003d28ac\nADRL            X0, aSI; \"%s%i\"                                        ; +0x20, 0x1003d28b0\nBL              sub_1003065B0                                          ; +0x28, 0x1003d28b8\nBL              cocos2d__CCString__getCString                          ; +0x2c, 0x1003d28bc\nMOV             X1, X0; __s                                            ; +0x30, 0x1003d28c0\nADD             X0, SP, #0x40+__p; int                                 ; +0x34, 0x1003d28c4\nBL              sub_100009900                                          ; +0x38, 0x1003d28c8\nADD             X1, SP, #0x40+__p                                      ; +0x3c, 0x1003d28cc\nMOV             X0, X19                                                ; +0x40, 0x1003d28d0\nBL              cocos2d__CCDictionary__objectForKey                    ; +0x44, 0x1003d28d4\nMOV             X19, X0                                                ; +0x48, 0x1003d28d8\nLDRSB           W8, [SP,#0x40+var_11]                                  ; +0x4c, 0x1003d28dc\nTBZ             W8, #0x1F, loc_1003D28EC                               ; +0x50, 0x1003d28e0\nLDR             X0, [SP,#0x40+__p]; __p                                ; +0x54, 0x1003d28e4\nBL              __ZdlPv; operator delete(void *)                       ; +0x58, 0x1003d28e8\nCMP             X19, #0                                                ; +0x5c, 0x1003d28ec\nCSET            W0, NE                                                 ; +0x60, 0x1003d28f0\nLDP             X29, X30, [SP,#0x40+var_s0]                            ; +0x64, 0x1003d28f4\nLDP             X20, X19, [SP,#0x40+var_10]                            ; +0x68, 0x1003d28f8\nADD             SP, SP, #0x50 ; 'P'                                    ; +0x6c, 0x1003d28fc\nRET                                                                    ; +0x70, 0x1003d2900", "xrefs": ["sub_1000A79F0 @ 0x1000a7a24", "LevelCell::loadCustomLevelCell @ 0x1001338cc", "LevelCell::loadCustomLevelCell @ 0x100133df4", "LevelCell::loadCustomLevelCell @ 0x100134b64", "LevelCell::loadCustomLevelCell @ 0x100135874", "LevelCell::recallChestReady @ 0x10013645c", "GameManager::recountUserStats @ 0x1003b6fac", "GameStatsManager::completedDailyLevel @ 0x1003d2550"], "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"}