{"type": "func", "start": 5371745360, "end": 5371745455, "name": "GameStatsManager::hasRewardBeenCollected", "pseudocode": "// \n// GameStatsManager::hasRewardBeenCollected from 0x1402e5450 to 0x1402e54af (95 bytes)\n// \n// 3 xrefs:\n// > RewardsPage::rewardsStatusFinished @ 0x140562df6\n// > RewardsPage::rewardsStatusFinished @ 0x140562eb7\n// > <???> @ 0x14091df9c\n// \n// This function is hookable on this platform (idp: pc, 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:29:50 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n__int64 __fastcall GameStatsManager::hasRewardBeenCollected(__int64 a1, unsigned int a2, unsigned int a3)\n{\n  __int64 v3; // rbx\n  _QWORD *ItemKey; // rax\n  _QWORD v6[4]; // [rsp+20h] [rbp-38h] BYREF\n\n  v3 = a1;\n  ItemKey = GameStatsManager::getItemKey(a1, v6, a2, a3);\n  LOBYTE(v3) = cocos2d::CCDictionary::objectForKey(*(_QWORD *)(v3 + 536), ItemKey) != 0;\n  sub_14003D310((__int64)v6);\n  return (unsigned __int8)v3;\n}", "assembly": "; \n; GameStatsManager::hasRewardBeenCollected from 0x1402e5450 to 0x1402e54af (95 bytes)\n; \n; 3 xrefs:\n; > RewardsPage::rewardsStatusFinished @ 0x140562df6\n; > RewardsPage::rewardsStatusFinished @ 0x140562eb7\n; > <???> @ 0x14091df9c\n; \n; This function is hookable on this platform (idp: pc, 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:29:50 +0000\n; \npush    rbx                                                            ; +0x0, 0x1402e5450\nsub     rsp, 50h                                                       ; +0x2, 0x1402e5452\nmov     rax, cs:__security_cookie                                      ; +0x6, 0x1402e5456\nxor     rax, rsp                                                       ; +0xd, 0x1402e545d\nmov     [rsp+58h+var_18], rax                                          ; +0x10, 0x1402e5460\nmov     rbx, rcx                                                       ; +0x15, 0x1402e5465\nmov     r9d, r8d                                                       ; +0x18, 0x1402e5468\nmov     r8d, edx                                                       ; +0x1b, 0x1402e546b\nlea     rdx, [rsp+58h+var_38]                                          ; +0x1e, 0x1402e546e\ncall    GameStatsManager__getItemKey                                   ; +0x23, 0x1402e5473\nnop                                                                    ; +0x28, 0x1402e5478\nmov     rdx, rax                                                       ; +0x29, 0x1402e5479\nmov     rcx, [rbx+218h]                                                ; +0x2c, 0x1402e547c\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::objectForKey(std::string const &) ; +0x33, 0x1402e5483\ntest    rax, rax                                                       ; +0x39, 0x1402e5489\nsetnz   bl                                                             ; +0x3c, 0x1402e548c\nlea     rcx, [rsp+58h+var_38]                                          ; +0x3f, 0x1402e548f\ncall    sub_14003D310                                                  ; +0x44, 0x1402e5494\nmovzx   eax, bl                                                        ; +0x49, 0x1402e5499\nmov     rcx, [rsp+58h+var_18]                                          ; +0x4c, 0x1402e549c\nxor     rcx, rsp; StackCookie                                          ; +0x51, 0x1402e54a1\ncall    __security_check_cookie                                        ; +0x54, 0x1402e54a4\nadd     rsp, 50h                                                       ; +0x59, 0x1402e54a9\npop     rbx                                                            ; +0x5d, 0x1402e54ad\nretn                                                                   ; +0x5e, 0x1402e54ae", "xrefs": ["RewardsPage::rewardsStatusFinished @ 0x140562df6", "RewardsPage::rewardsStatusFinished @ 0x140562eb7", "<???> @ 0x14091df9c"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}