{"type": "func", "start": 5371814096, "end": 5371815388, "name": "GameStatsManager::registerRewardsFromItem", "pseudocode": "// \n// GameStatsManager::registerRewardsFromItem from 0x1402f60d0 to 0x1402f65dc (1292 bytes)\n// \n// 6 xrefs:\n// > GameStatsManager::completedDailyLevel @ 0x1402e6df3\n// > GameStatsManager::unlockSpecialChest @ 0x1402ee915\n// > GameStatsManager::unlockSecretChest @ 0x1402eee2e\n// > RewardsPage::rewardsStatusFinished @ 0x140562ec6\n// > SecretRewardsLayer::onGoldChest @ 0x14056cfb9\n// > <???> @ 0x14091e158\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:30:04 +0000\n// \n\n// Hidden C++ exception states: #wind=14\nvoid __fastcall GameStatsManager::registerRewardsFromItem(__int64 a1, __int64 a2)\n{\n  char v3; // r14\n  cocos2d::CCArray *v4; // rsi\n  unsigned int v5; // edi\n  struct cocos2d::CCObject *v6; // rbx\n  __int64 v7; // rcx\n  __int16 *v8; // rdx\n  void *v9; // [rsp+20h] [rbp-88h]\n  void *v10; // [rsp+28h] [rbp-80h]\n  void *v11; // [rsp+30h] [rbp-78h]\n  void *v12; // [rsp+38h] [rbp-70h]\n  void *v13; // [rsp+40h] [rbp-68h]\n  void *v14; // [rsp+48h] [rbp-60h]\n  void *v15; // [rsp+50h] [rbp-58h]\n  void *v16; // [rsp+58h] [rbp-50h]\n  void *v17; // [rsp+60h] [rbp-48h]\n  void *v18; // [rsp+68h] [rbp-40h]\n  void *v19; // [rsp+B0h] [rbp+8h]\n  void *v20; // [rsp+B8h] [rbp+10h]\n  void *v21; // [rsp+C0h] [rbp+18h]\n  void *v22; // [rsp+C8h] [rbp+20h]\n\n  v3 = *(_BYTE *)(a1 + 912);\n  *(_BYTE *)(a1 + 912) = 1;\n  v4 = *(cocos2d::CCArray **)(a2 + 72);\n  if ( v4 )\n  {\n    v5 = 0;\n    if ( cocos2d::CCArray::count(*(cocos2d::CCArray **)(a2 + 72)) )\n    {\n      do\n      {\n        v6 = cocos2d::CCArray::objectAtIndex(v4, v5);\n        switch ( *((_DWORD *)v6 + 14) )\n        {\n          case 1:\n            v7 = qword_14090BFE0;\n            if ( !qword_14090BFE0 )\n            {\n              v21 = operator new(0x3E8u);\n              qword_14090BFE0 = sub_1402D6480((__int64)v21);\n              (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFE0 + 72LL))(qword_14090BFE0);\n              v7 = qword_14090BFE0;\n            }\n            v8 = &word_140737FE8;\n            goto LABEL_46;\n          case 2:\n            v7 = qword_14090BFE0;\n            if ( !qword_14090BFE0 )\n            {\n              v22 = operator new(0x3E8u);\n              qword_14090BFE0 = sub_1402D6480((__int64)v22);\n              (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFE0 + 72LL))(qword_14090BFE0);\n              v7 = qword_14090BFE0;\n            }\n            v8 = &word_140737FE4;\n            goto LABEL_46;\n          case 3:\n            v7 = qword_14090BFE0;\n            if ( !qword_14090BFE0 )\n            {\n              v9 = operator new(0x3E8u);\n              qword_14090BFE0 = sub_1402D6480((__int64)v9);\n              (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFE0 + 72LL))(qword_14090BFE0);\n              v7 = qword_14090BFE0;\n            }\n            v8 = &word_140737FF0;\n            goto LABEL_46;\n          case 4:\n            v7 = qword_14090BFE0;\n            if ( !qword_14090BFE0 )\n            {\n              v10 = operator new(0x3E8u);\n              qword_14090BFE0 = sub_1402D6480((__int64)v10);\n              (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFE0 + 72LL))(qword_14090BFE0);\n              v7 = qword_14090BFE0;\n            }\n            v8 = &word_140737FEC;\n            goto LABEL_46;\n          case 5:\n            v7 = qword_14090BFE0;\n            if ( !qword_14090BFE0 )\n            {\n              v11 = operator new(0x3E8u);\n              qword_14090BFE0 = sub_1402D6480((__int64)v11);\n              (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFE0 + 72LL))(qword_14090BFE0);\n              v7 = qword_14090BFE0;\n            }\n            v8 = &word_1407380D0;\n            goto LABEL_46;\n          case 6:\n            v7 = qword_14090BFE0;\n            if ( !qword_14090BFE0 )\n            {\n              v12 = operator new(0x3E8u);\n              qword_14090BFE0 = sub_1402D6480((__int64)v12);\n              (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFE0 + 72LL))(qword_14090BFE0);\n              v7 = qword_14090BFE0;\n            }\n            v8 = &word_140737620;\n            goto LABEL_46;\n          case 7:\n            v7 = qword_14090BFE0;\n            if ( !qword_14090BFE0 )\n            {\n              v19 = operator new(0x3E8u);\n              qword_14090BFE0 = sub_1402D6480((__int64)v19);\n              (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFE0 + 72LL))(qword_14090BFE0);\n              v7 = qword_14090BFE0;\n            }\n            v8 = &word_140737D98;\n            goto LABEL_46;\n          case 8:\n            v7 = qword_14090BFE0;\n            if ( !qword_14090BFE0 )\n            {\n              v20 = operator new(0x3E8u);\n              qword_14090BFE0 = sub_1402D6480((__int64)v20);\n              (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFE0 + 72LL))(qword_14090BFE0);\n              v7 = qword_14090BFE0;\n            }\n            v8 = (__int16 *)\"13\";\n            goto LABEL_46;\n          case 0xA:\n            v7 = qword_14090BFE0;\n            if ( !qword_14090BFE0 )\n            {\n              v14 = operator new(0x3E8u);\n              qword_14090BFE0 = sub_1402D6480((__int64)v14);\n              (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFE0 + 72LL))(qword_14090BFE0);\n              v7 = qword_14090BFE0;\n            }\n            v8 = (__int16 *)byte_1407380CC;\n            goto LABEL_46;\n          case 0xB:\n            v7 = qword_14090BFE0;\n            if ( !qword_14090BFE0 )\n            {\n              v16 = operator new(0x3E8u);\n              qword_14090BFE0 = sub_1402D6480((__int64)v16);\n              (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFE0 + 72LL))(qword_14090BFE0);\n              v7 = qword_14090BFE0;\n            }\n            v8 = (__int16 *)byte_1407380D8;\n            goto LABEL_46;\n          case 0xC:\n            v7 = qword_14090BFE0;\n            if ( !qword_14090BFE0 )\n            {\n              v15 = operator new(0x3E8u);\n              qword_14090BFE0 = sub_1402D6480((__int64)v15);\n              (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFE0 + 72LL))(qword_14090BFE0);\n              v7 = qword_14090BFE0;\n            }\n            v8 = &word_1407380D4;\n            goto LABEL_46;\n          case 0xD:\n            v7 = qword_14090BFE0;\n            if ( !qword_14090BFE0 )\n            {\n              v17 = operator new(0x3E8u);\n              qword_14090BFE0 = sub_1402D6480((__int64)v17);\n              (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFE0 + 72LL))(qword_14090BFE0);\n              v7 = qword_14090BFE0;\n            }\n            v8 = (__int16 *)byte_1407380E0;\n            goto LABEL_46;\n          case 0xE:\n            v7 = qword_14090BFE0;\n            if ( !qword_14090BFE0 )\n            {\n              v18 = operator new(0x3E8u);\n              qword_14090BFE0 = sub_1402D6480((__int64)v18);\n              (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFE0 + 72LL))(qword_14090BFE0);\n              v7 = qword_14090BFE0;\n            }\n            v8 = (__int16 *)byte_1407380DC;\n            goto LABEL_46;\n          case 0xF:\n            v7 = qword_14090BFE0;\n            if ( !qword_14090BFE0 )\n            {\n              v13 = operator new(0x3E8u);\n              qword_14090BFE0 = sub_1402D6480((__int64)v13);\n              (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFE0 + 72LL))(qword_14090BFE0);\n              v7 = qword_14090BFE0;\n            }\n            v8 = &word_1407380E4;\nLABEL_46:\n            GameStatsManager::incrementStat(v7, (const char *)v8, *((_DWORD *)v6 + 17));\n            break;\n          default:\n            break;\n        }\n        ++v5;\n      }\n      while ( v5 < cocos2d::CCArray::count(v4) );\n    }\n    *(_BYTE *)(a1 + 912) = v3;\n  }\n  else\n  {\n    *(_BYTE *)(a1 + 912) = v3;\n  }\n}", "assembly": "; \n; GameStatsManager::registerRewardsFromItem from 0x1402f60d0 to 0x1402f65dc (1292 bytes)\n; \n; 6 xrefs:\n; > GameStatsManager::completedDailyLevel @ 0x1402e6df3\n; > GameStatsManager::unlockSpecialChest @ 0x1402ee915\n; > GameStatsManager::unlockSecretChest @ 0x1402eee2e\n; > RewardsPage::rewardsStatusFinished @ 0x140562ec6\n; > SecretRewardsLayer::onGoldChest @ 0x14056cfb9\n; > <???> @ 0x14091e158\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:30:04 +0000\n; \npush    rbx                                                            ; +0x0, 0x1402f60d0\npush    rbp                                                            ; +0x2, 0x1402f60d2\npush    rsi                                                            ; +0x3, 0x1402f60d3\npush    rdi                                                            ; +0x4, 0x1402f60d4\npush    r14                                                            ; +0x5, 0x1402f60d5\npush    r15                                                            ; +0x7, 0x1402f60d7\nsub     rsp, 78h                                                       ; +0x9, 0x1402f60d9\nmov     rbp, rcx                                                       ; +0xd, 0x1402f60dd\nmovzx   r14d, byte ptr [rcx+390h]                                      ; +0x10, 0x1402f60e0\nmov     byte ptr [rcx+390h], 1                                         ; +0x18, 0x1402f60e8\nmov     rsi, [rdx+48h]                                                 ; +0x1f, 0x1402f60ef\ntest    rsi, rsi                                                       ; +0x23, 0x1402f60f3\njz      loc_1402F658C                                                  ; +0x26, 0x1402f60f6\nxor     edi, edi                                                       ; +0x2c, 0x1402f60fc\nmov     rcx, rsi                                                       ; +0x2e, 0x1402f60fe\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x31, 0x1402f6101\ntest    eax, eax                                                       ; +0x37, 0x1402f6107\njz      loc_1402F6578                                                  ; +0x39, 0x1402f6109\nlea     r15, cs:140000000h                                             ; +0x3f, 0x1402f610f\nnop     word ptr [rax+rax+00000000h]                                   ; +0x46, 0x1402f6116\nmov     edx, edi                                                       ; +0x50, 0x1402f6120\nmov     rcx, rsi                                                       ; +0x52, 0x1402f6122\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x55, 0x1402f6125\nmov     rbx, rax                                                       ; +0x5b, 0x1402f612b\nmov     ecx, [rax+38h]                                                 ; +0x5e, 0x1402f612e\ndec     ecx; switch 15 cases                                           ; +0x61, 0x1402f6131\ncmp     ecx, 0Eh                                                       ; +0x63, 0x1402f6133\nja      def_1402F614A; jumptable 00000001402F614A default case, case 9 ; +0x66, 0x1402f6136\nmovsxd  rcx, ecx                                                       ; +0x6c, 0x1402f613c\nmov     edx, ds:(jpt_1402F614A - 140000000h)[r15+rcx*4]                ; +0x6f, 0x1402f613f\nadd     rdx, r15                                                       ; +0x77, 0x1402f6147\njmp     rdx; switch jump                                               ; +0x7a, 0x1402f614a\nmov     rcx, cs:qword_14090BFE0; jumptable 00000001402F614A case 7     ; +0x7c, 0x1402f614c\ntest    rcx, rcx                                                       ; +0x83, 0x1402f6153\njnz     short loc_1402F618D                                            ; +0x86, 0x1402f6156\nmov     ecx, 3E8h; Size                                                ; +0x88, 0x1402f6158\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x8d, 0x1402f615d\nmov     [rsp+0A8h+arg_0], rax                                          ; +0x92, 0x1402f6162\nmov     rcx, rax                                                       ; +0x9a, 0x1402f616a\ncall    sub_1402D6480                                                  ; +0x9d, 0x1402f616d\nnop                                                                    ; +0xa2, 0x1402f6172\nmov     cs:qword_14090BFE0, rax                                        ; +0xa3, 0x1402f6173\nmov     rcx, [rax]                                                     ; +0xaa, 0x1402f617a\nmov     rdx, [rcx+48h]                                                 ; +0xad, 0x1402f617d\nmov     rcx, rax                                                       ; +0xb1, 0x1402f6181\ncall    rdx                                                            ; +0xb4, 0x1402f6184\nmov     rcx, cs:qword_14090BFE0                                        ; +0xb6, 0x1402f6186\nlea     rdx, word_140737D98                                            ; +0xbd, 0x1402f618d\njmp     loc_1402F655C                                                  ; +0xc4, 0x1402f6194\nmov     rcx, cs:qword_14090BFE0; jumptable 00000001402F614A case 8     ; +0xc9, 0x1402f6199\ntest    rcx, rcx                                                       ; +0xd0, 0x1402f61a0\njnz     short loc_1402F61DA                                            ; +0xd3, 0x1402f61a3\nmov     ecx, 3E8h; Size                                                ; +0xd5, 0x1402f61a5\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xda, 0x1402f61aa\nmov     [rsp+0A8h+arg_8], rax                                          ; +0xdf, 0x1402f61af\nmov     rcx, rax                                                       ; +0xe7, 0x1402f61b7\ncall    sub_1402D6480                                                  ; +0xea, 0x1402f61ba\nnop                                                                    ; +0xef, 0x1402f61bf\nmov     cs:qword_14090BFE0, rax                                        ; +0xf0, 0x1402f61c0\nmov     rcx, [rax]                                                     ; +0xf7, 0x1402f61c7\nmov     rdx, [rcx+48h]                                                 ; +0xfa, 0x1402f61ca\nmov     rcx, rax                                                       ; +0xfe, 0x1402f61ce\ncall    rdx                                                            ; +0x101, 0x1402f61d1\nmov     rcx, cs:qword_14090BFE0                                        ; +0x103, 0x1402f61d3\nlea     rdx, a13; \"13\"                                                 ; +0x10a, 0x1402f61da\njmp     loc_1402F655C                                                  ; +0x111, 0x1402f61e1\nmov     rcx, cs:qword_14090BFE0; jumptable 00000001402F614A case 1     ; +0x116, 0x1402f61e6\ntest    rcx, rcx                                                       ; +0x11d, 0x1402f61ed\njnz     short loc_1402F6227                                            ; +0x120, 0x1402f61f0\nmov     ecx, 3E8h; Size                                                ; +0x122, 0x1402f61f2\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x127, 0x1402f61f7\nmov     [rsp+0A8h+arg_10], rax                                         ; +0x12c, 0x1402f61fc\nmov     rcx, rax                                                       ; +0x134, 0x1402f6204\ncall    sub_1402D6480                                                  ; +0x137, 0x1402f6207\nnop                                                                    ; +0x13c, 0x1402f620c\nmov     cs:qword_14090BFE0, rax                                        ; +0x13d, 0x1402f620d\nmov     rcx, [rax]                                                     ; +0x144, 0x1402f6214\nmov     rdx, [rcx+48h]                                                 ; +0x147, 0x1402f6217\nmov     rcx, rax                                                       ; +0x14b, 0x1402f621b\ncall    rdx                                                            ; +0x14e, 0x1402f621e\nmov     rcx, cs:qword_14090BFE0                                        ; +0x150, 0x1402f6220\nlea     rdx, word_140737FE8                                            ; +0x157, 0x1402f6227\njmp     loc_1402F655C                                                  ; +0x15e, 0x1402f622e\nmov     rcx, cs:qword_14090BFE0; jumptable 00000001402F614A case 2     ; +0x163, 0x1402f6233\ntest    rcx, rcx                                                       ; +0x16a, 0x1402f623a\njnz     short loc_1402F6274                                            ; +0x16d, 0x1402f623d\nmov     ecx, 3E8h; Size                                                ; +0x16f, 0x1402f623f\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x174, 0x1402f6244\nmov     [rsp+0A8h+arg_18], rax                                         ; +0x179, 0x1402f6249\nmov     rcx, rax                                                       ; +0x181, 0x1402f6251\ncall    sub_1402D6480                                                  ; +0x184, 0x1402f6254\nnop                                                                    ; +0x189, 0x1402f6259\nmov     cs:qword_14090BFE0, rax                                        ; +0x18a, 0x1402f625a\nmov     rcx, [rax]                                                     ; +0x191, 0x1402f6261\nmov     rdx, [rcx+48h]                                                 ; +0x194, 0x1402f6264\nmov     rcx, rax                                                       ; +0x198, 0x1402f6268\ncall    rdx                                                            ; +0x19b, 0x1402f626b\nmov     rcx, cs:qword_14090BFE0                                        ; +0x19d, 0x1402f626d\nlea     rdx, word_140737FE4                                            ; +0x1a4, 0x1402f6274\njmp     loc_1402F655C                                                  ; +0x1ab, 0x1402f627b\nmov     rcx, cs:qword_14090BFE0; jumptable 00000001402F614A case 3     ; +0x1b0, 0x1402f6280\ntest    rcx, rcx                                                       ; +0x1b7, 0x1402f6287\njnz     short loc_1402F62BE                                            ; +0x1ba, 0x1402f628a\nmov     ecx, 3E8h; Size                                                ; +0x1bc, 0x1402f628c\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1c1, 0x1402f6291\nmov     [rsp+0A8h+var_88], rax                                         ; +0x1c6, 0x1402f6296\nmov     rcx, rax                                                       ; +0x1cb, 0x1402f629b\ncall    sub_1402D6480                                                  ; +0x1ce, 0x1402f629e\nnop                                                                    ; +0x1d3, 0x1402f62a3\nmov     cs:qword_14090BFE0, rax                                        ; +0x1d4, 0x1402f62a4\nmov     rcx, [rax]                                                     ; +0x1db, 0x1402f62ab\nmov     rdx, [rcx+48h]                                                 ; +0x1de, 0x1402f62ae\nmov     rcx, rax                                                       ; +0x1e2, 0x1402f62b2\ncall    rdx                                                            ; +0x1e5, 0x1402f62b5\nmov     rcx, cs:qword_14090BFE0                                        ; +0x1e7, 0x1402f62b7\nlea     rdx, word_140737FF0                                            ; +0x1ee, 0x1402f62be\njmp     loc_1402F655C                                                  ; +0x1f5, 0x1402f62c5\nmov     rcx, cs:qword_14090BFE0; jumptable 00000001402F614A case 4     ; +0x1fa, 0x1402f62ca\ntest    rcx, rcx                                                       ; +0x201, 0x1402f62d1\njnz     short loc_1402F6308                                            ; +0x204, 0x1402f62d4\nmov     ecx, 3E8h; Size                                                ; +0x206, 0x1402f62d6\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x20b, 0x1402f62db\nmov     [rsp+0A8h+var_80], rax                                         ; +0x210, 0x1402f62e0\nmov     rcx, rax                                                       ; +0x215, 0x1402f62e5\ncall    sub_1402D6480                                                  ; +0x218, 0x1402f62e8\nnop                                                                    ; +0x21d, 0x1402f62ed\nmov     cs:qword_14090BFE0, rax                                        ; +0x21e, 0x1402f62ee\nmov     rcx, [rax]                                                     ; +0x225, 0x1402f62f5\nmov     rdx, [rcx+48h]                                                 ; +0x228, 0x1402f62f8\nmov     rcx, rax                                                       ; +0x22c, 0x1402f62fc\ncall    rdx                                                            ; +0x22f, 0x1402f62ff\nmov     rcx, cs:qword_14090BFE0                                        ; +0x231, 0x1402f6301\nlea     rdx, word_140737FEC                                            ; +0x238, 0x1402f6308\njmp     loc_1402F655C                                                  ; +0x23f, 0x1402f630f\nmov     rcx, cs:qword_14090BFE0; jumptable 00000001402F614A case 5     ; +0x244, 0x1402f6314\ntest    rcx, rcx                                                       ; +0x24b, 0x1402f631b\njnz     short loc_1402F6352                                            ; +0x24e, 0x1402f631e\nmov     ecx, 3E8h; Size                                                ; +0x250, 0x1402f6320\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x255, 0x1402f6325\nmov     [rsp+0A8h+var_78], rax                                         ; +0x25a, 0x1402f632a\nmov     rcx, rax                                                       ; +0x25f, 0x1402f632f\ncall    sub_1402D6480                                                  ; +0x262, 0x1402f6332\nnop                                                                    ; +0x267, 0x1402f6337\nmov     cs:qword_14090BFE0, rax                                        ; +0x268, 0x1402f6338\nmov     rcx, [rax]                                                     ; +0x26f, 0x1402f633f\nmov     rdx, [rcx+48h]                                                 ; +0x272, 0x1402f6342\nmov     rcx, rax                                                       ; +0x276, 0x1402f6346\ncall    rdx                                                            ; +0x279, 0x1402f6349\nmov     rcx, cs:qword_14090BFE0                                        ; +0x27b, 0x1402f634b\nlea     rdx, word_1407380D0                                            ; +0x282, 0x1402f6352\njmp     loc_1402F655C                                                  ; +0x289, 0x1402f6359\nmov     rcx, cs:qword_14090BFE0; jumptable 00000001402F614A case 6     ; +0x28e, 0x1402f635e\ntest    rcx, rcx                                                       ; +0x295, 0x1402f6365\njnz     short loc_1402F639C                                            ; +0x298, 0x1402f6368\nmov     ecx, 3E8h; Size                                                ; +0x29a, 0x1402f636a\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x29f, 0x1402f636f\nmov     [rsp+0A8h+var_70], rax                                         ; +0x2a4, 0x1402f6374\nmov     rcx, rax                                                       ; +0x2a9, 0x1402f6379\ncall    sub_1402D6480                                                  ; +0x2ac, 0x1402f637c\nnop                                                                    ; +0x2b1, 0x1402f6381\nmov     cs:qword_14090BFE0, rax                                        ; +0x2b2, 0x1402f6382\nmov     rcx, [rax]                                                     ; +0x2b9, 0x1402f6389\nmov     rdx, [rcx+48h]                                                 ; +0x2bc, 0x1402f638c\nmov     rcx, rax                                                       ; +0x2c0, 0x1402f6390\ncall    rdx                                                            ; +0x2c3, 0x1402f6393\nmov     rcx, cs:qword_14090BFE0                                        ; +0x2c5, 0x1402f6395\nlea     rdx, word_140737620                                            ; +0x2cc, 0x1402f639c\njmp     loc_1402F655C                                                  ; +0x2d3, 0x1402f63a3\nmov     rcx, cs:qword_14090BFE0; jumptable 00000001402F614A case 15    ; +0x2d8, 0x1402f63a8\ntest    rcx, rcx                                                       ; +0x2df, 0x1402f63af\njnz     short loc_1402F63E6                                            ; +0x2e2, 0x1402f63b2\nmov     ecx, 3E8h; Size                                                ; +0x2e4, 0x1402f63b4\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2e9, 0x1402f63b9\nmov     [rsp+0A8h+var_68], rax                                         ; +0x2ee, 0x1402f63be\nmov     rcx, rax                                                       ; +0x2f3, 0x1402f63c3\ncall    sub_1402D6480                                                  ; +0x2f6, 0x1402f63c6\nnop                                                                    ; +0x2fb, 0x1402f63cb\nmov     cs:qword_14090BFE0, rax                                        ; +0x2fc, 0x1402f63cc\nmov     rcx, [rax]                                                     ; +0x303, 0x1402f63d3\nmov     rdx, [rcx+48h]                                                 ; +0x306, 0x1402f63d6\nmov     rcx, rax                                                       ; +0x30a, 0x1402f63da\ncall    rdx                                                            ; +0x30d, 0x1402f63dd\nmov     rcx, cs:qword_14090BFE0                                        ; +0x30f, 0x1402f63df\nlea     rdx, word_1407380E4                                            ; +0x316, 0x1402f63e6\njmp     loc_1402F655C                                                  ; +0x31d, 0x1402f63ed\nmov     rcx, cs:qword_14090BFE0; jumptable 00000001402F614A case 10    ; +0x322, 0x1402f63f2\ntest    rcx, rcx                                                       ; +0x329, 0x1402f63f9\njnz     short loc_1402F6430                                            ; +0x32c, 0x1402f63fc\nmov     ecx, 3E8h; Size                                                ; +0x32e, 0x1402f63fe\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x333, 0x1402f6403\nmov     [rsp+0A8h+var_60], rax                                         ; +0x338, 0x1402f6408\nmov     rcx, rax                                                       ; +0x33d, 0x1402f640d\ncall    sub_1402D6480                                                  ; +0x340, 0x1402f6410\nnop                                                                    ; +0x345, 0x1402f6415\nmov     cs:qword_14090BFE0, rax                                        ; +0x346, 0x1402f6416\nmov     rcx, [rax]                                                     ; +0x34d, 0x1402f641d\nmov     rdx, [rcx+48h]                                                 ; +0x350, 0x1402f6420\nmov     rcx, rax                                                       ; +0x354, 0x1402f6424\ncall    rdx                                                            ; +0x357, 0x1402f6427\nmov     rcx, cs:qword_14090BFE0                                        ; +0x359, 0x1402f6429\nlea     rdx, byte_1407380CC                                            ; +0x360, 0x1402f6430\njmp     loc_1402F655C                                                  ; +0x367, 0x1402f6437\nmov     rcx, cs:qword_14090BFE0; jumptable 00000001402F614A case 12    ; +0x36c, 0x1402f643c\ntest    rcx, rcx                                                       ; +0x373, 0x1402f6443\njnz     short loc_1402F647A                                            ; +0x376, 0x1402f6446\nmov     ecx, 3E8h; Size                                                ; +0x378, 0x1402f6448\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x37d, 0x1402f644d\nmov     [rsp+0A8h+var_58], rax                                         ; +0x382, 0x1402f6452\nmov     rcx, rax                                                       ; +0x387, 0x1402f6457\ncall    sub_1402D6480                                                  ; +0x38a, 0x1402f645a\nnop                                                                    ; +0x38f, 0x1402f645f\nmov     cs:qword_14090BFE0, rax                                        ; +0x390, 0x1402f6460\nmov     rcx, [rax]                                                     ; +0x397, 0x1402f6467\nmov     rdx, [rcx+48h]                                                 ; +0x39a, 0x1402f646a\nmov     rcx, rax                                                       ; +0x39e, 0x1402f646e\ncall    rdx                                                            ; +0x3a1, 0x1402f6471\nmov     rcx, cs:qword_14090BFE0                                        ; +0x3a3, 0x1402f6473\nlea     rdx, word_1407380D4                                            ; +0x3aa, 0x1402f647a\njmp     loc_1402F655C                                                  ; +0x3b1, 0x1402f6481\nmov     rcx, cs:qword_14090BFE0; jumptable 00000001402F614A case 11    ; +0x3b6, 0x1402f6486\ntest    rcx, rcx                                                       ; +0x3bd, 0x1402f648d\njnz     short loc_1402F64C4                                            ; +0x3c0, 0x1402f6490\nmov     ecx, 3E8h; Size                                                ; +0x3c2, 0x1402f6492\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x3c7, 0x1402f6497\nmov     [rsp+0A8h+var_50], rax                                         ; +0x3cc, 0x1402f649c\nmov     rcx, rax                                                       ; +0x3d1, 0x1402f64a1\ncall    sub_1402D6480                                                  ; +0x3d4, 0x1402f64a4\nnop                                                                    ; +0x3d9, 0x1402f64a9\nmov     cs:qword_14090BFE0, rax                                        ; +0x3da, 0x1402f64aa\nmov     rcx, [rax]                                                     ; +0x3e1, 0x1402f64b1\nmov     rdx, [rcx+48h]                                                 ; +0x3e4, 0x1402f64b4\nmov     rcx, rax                                                       ; +0x3e8, 0x1402f64b8\ncall    rdx                                                            ; +0x3eb, 0x1402f64bb\nmov     rcx, cs:qword_14090BFE0                                        ; +0x3ed, 0x1402f64bd\nlea     rdx, byte_1407380D8                                            ; +0x3f4, 0x1402f64c4\njmp     loc_1402F655C                                                  ; +0x3fb, 0x1402f64cb\nmov     rcx, cs:qword_14090BFE0; jumptable 00000001402F614A case 13    ; +0x400, 0x1402f64d0\ntest    rcx, rcx                                                       ; +0x407, 0x1402f64d7\njnz     short loc_1402F650E                                            ; +0x40a, 0x1402f64da\nmov     ecx, 3E8h; Size                                                ; +0x40c, 0x1402f64dc\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x411, 0x1402f64e1\nmov     [rsp+0A8h+var_48], rax                                         ; +0x416, 0x1402f64e6\nmov     rcx, rax                                                       ; +0x41b, 0x1402f64eb\ncall    sub_1402D6480                                                  ; +0x41e, 0x1402f64ee\nnop                                                                    ; +0x423, 0x1402f64f3\nmov     cs:qword_14090BFE0, rax                                        ; +0x424, 0x1402f64f4\nmov     rcx, [rax]                                                     ; +0x42b, 0x1402f64fb\nmov     rdx, [rcx+48h]                                                 ; +0x42e, 0x1402f64fe\nmov     rcx, rax                                                       ; +0x432, 0x1402f6502\ncall    rdx                                                            ; +0x435, 0x1402f6505\nmov     rcx, cs:qword_14090BFE0                                        ; +0x437, 0x1402f6507\nlea     rdx, byte_1407380E0                                            ; +0x43e, 0x1402f650e\njmp     short loc_1402F655C                                            ; +0x445, 0x1402f6515\nmov     rcx, cs:qword_14090BFE0; jumptable 00000001402F614A case 14    ; +0x447, 0x1402f6517\ntest    rcx, rcx                                                       ; +0x44e, 0x1402f651e\njnz     short loc_1402F6555                                            ; +0x451, 0x1402f6521\nmov     ecx, 3E8h; Size                                                ; +0x453, 0x1402f6523\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x458, 0x1402f6528\nmov     [rsp+0A8h+var_40], rax                                         ; +0x45d, 0x1402f652d\nmov     rcx, rax                                                       ; +0x462, 0x1402f6532\ncall    sub_1402D6480                                                  ; +0x465, 0x1402f6535\nnop                                                                    ; +0x46a, 0x1402f653a\nmov     cs:qword_14090BFE0, rax                                        ; +0x46b, 0x1402f653b\nmov     rcx, [rax]                                                     ; +0x472, 0x1402f6542\nmov     rdx, [rcx+48h]                                                 ; +0x475, 0x1402f6545\nmov     rcx, rax                                                       ; +0x479, 0x1402f6549\ncall    rdx                                                            ; +0x47c, 0x1402f654c\nmov     rcx, cs:qword_14090BFE0                                        ; +0x47e, 0x1402f654e\nlea     rdx, byte_1407380DC                                            ; +0x485, 0x1402f6555\nmov     r8d, [rbx+44h]                                                 ; +0x48c, 0x1402f655c\ncall    GameStatsManager__incrementStat                                ; +0x490, 0x1402f6560\ninc     edi; jumptable 00000001402F614A default case, case 9           ; +0x495, 0x1402f6565\nmov     rcx, rsi                                                       ; +0x497, 0x1402f6567\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x49a, 0x1402f656a\ncmp     edi, eax                                                       ; +0x4a0, 0x1402f6570\njb      loc_1402F6120                                                  ; +0x4a2, 0x1402f6572\nmov     [rbp+390h], r14b                                               ; +0x4a8, 0x1402f6578\nadd     rsp, 78h                                                       ; +0x4af, 0x1402f657f\npop     r15                                                            ; +0x4b3, 0x1402f6583\npop     r14                                                            ; +0x4b5, 0x1402f6585\npop     rdi                                                            ; +0x4b7, 0x1402f6587\npop     rsi                                                            ; +0x4b8, 0x1402f6588\npop     rbp                                                            ; +0x4b9, 0x1402f6589\npop     rbx                                                            ; +0x4ba, 0x1402f658a\nretn                                                                   ; +0x4bb, 0x1402f658b\nmov     [rcx+390h], r14b                                               ; +0x4bc, 0x1402f658c\nadd     rsp, 78h                                                       ; +0x4c3, 0x1402f6593\npop     r15                                                            ; +0x4c7, 0x1402f6597\npop     r14                                                            ; +0x4c9, 0x1402f6599\npop     rdi                                                            ; +0x4cb, 0x1402f659b\npop     rsi                                                            ; +0x4cc, 0x1402f659c\npop     rbp                                                            ; +0x4cd, 0x1402f659d\npop     rbx                                                            ; +0x4ce, 0x1402f659e\nretn                                                                   ; +0x4cf, 0x1402f659f\ndd offset loc_1402F61E6 - 140000000h; jump table for switch statement  ; +0x4d0, 0x1402f65a0", "xrefs": ["GameStatsManager::completedDailyLevel @ 0x1402e6df3", "GameStatsManager::unlockSpecialChest @ 0x1402ee915", "GameStatsManager::unlockSecretChest @ 0x1402eee2e", "RewardsPage::rewardsStatusFinished @ 0x140562ec6", "SecretRewardsLayer::onGoldChest @ 0x14056cfb9", "<???> @ 0x14091e158"], "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"}