{"type": "func", "start": 4295435680, "end": 4295435758, "name": "GameStatsManager::hasRewardBeenCollected", "pseudocode": "// \n// GameStatsManager::hasRewardBeenCollected from 0x1000725a0 to 0x1000725ee (78 bytes)\n// \n// 3 xrefs:\n// > RewardsPage::updateTimers @ 0x10021b19d\n// > RewardsPage::updateTimers @ 0x10021b1c0\n// > RewardsPage::rewardsStatusFinished @ 0x10021b5a7\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\n// local variable allocation has failed, the output may be wrong!\nbool __fastcall GameStatsManager::hasRewardBeenCollected(GameStatsManager *a1, GJRewardType a2, int a3)\n{\n  double v3; // xmm0_8\n  cocos2d::CCDictionary *m_dailyChests; // rbx\n  __int64 v5; // rbx\n  size_t v7[5]; // [rsp+8h] [rbp-28h] BYREF\n\n  m_dailyChests = a1->m_dailyChests;\n  GameStatsManager::getRewardKey(v7, v3, *(__int64 *)&a2, a2, a3);\n  v5 = cocos2d::CCDictionary::objectForKey_1(m_dailyChests, v7);\n  if ( (v7[0] & 1) != 0 )\n    operator delete((void *)v7[2]);\n  return v5 != 0;\n}", "assembly": "; \n; GameStatsManager::hasRewardBeenCollected from 0x1000725a0 to 0x1000725ee (78 bytes)\n; \n; 3 xrefs:\n; > RewardsPage::updateTimers @ 0x10021b19d\n; > RewardsPage::updateTimers @ 0x10021b1c0\n; > RewardsPage::rewardsStatusFinished @ 0x10021b5a7\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, 0x1000725a0\nmov     rbp, rsp                                                       ; +0x1, 0x1000725a1\npush    r14                                                            ; +0x4, 0x1000725a4\npush    rbx                                                            ; +0x6, 0x1000725a6\nsub     rsp, 20h                                                       ; +0x7, 0x1000725a7\nmov     ecx, edx                                                       ; +0xb, 0x1000725ab\nmov     edx, esi                                                       ; +0xd, 0x1000725ad\nmov     rbx, [rdi+1E0h]                                                ; +0xf, 0x1000725af\nlea     r14, [rbp+var_28]                                              ; +0x16, 0x1000725b6\nmov     rdi, r14                                                       ; +0x1a, 0x1000725ba\ncall    GameStatsManager__getRewardKey                                 ; +0x1d, 0x1000725bd\nmov     rdi, rbx                                                       ; +0x22, 0x1000725c2\nmov     rsi, r14                                                       ; +0x25, 0x1000725c5\ncall    cocos2d__CCDictionary__objectForKey_1                          ; +0x28, 0x1000725c8\nmov     rbx, rax                                                       ; +0x2d, 0x1000725cd\ntest    [rbp+var_28], 1                                                ; +0x30, 0x1000725d0\njz      short loc_1000725DF                                            ; +0x34, 0x1000725d4\nmov     rdi, [rbp+__p]; __p                                            ; +0x36, 0x1000725d6\ncall    __ZdlPv; operator delete(void *)                               ; +0x3a, 0x1000725da\ntest    rbx, rbx                                                       ; +0x3f, 0x1000725df\nsetnz   al                                                             ; +0x42, 0x1000725e2\nadd     rsp, 20h                                                       ; +0x45, 0x1000725e5\npop     rbx                                                            ; +0x49, 0x1000725e9\npop     r14                                                            ; +0x4a, 0x1000725ea\npop     rbp                                                            ; +0x4c, 0x1000725ec\nretn                                                                   ; +0x4d, 0x1000725ed", "xrefs": ["RewardsPage::updateTimers @ 0x10021b19d", "RewardsPage::updateTimers @ 0x10021b1c0", "RewardsPage::rewardsStatusFinished @ 0x10021b5a7"], "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"}