{"type": "func", "start": 4295206528, "end": 4295206778, "name": "GameStatsManager::getCompletedDailyIDs", "pseudocode": "// \n// GameStatsManager::getCompletedDailyIDs from 0x10003a680 to 0x10003a77a (250 bytes)\n// \n// 1 xrefs:\n// > GameLevelManager::getOnlineLevels @ 0x100558732\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 12:19:33 +0000\n// \n\nstd::string *__fastcall GameStatsManager::getCompletedDailyIDs(std::string *this, __int64 a2, int a3, int a4)\n{\n  char v4; // al\n  __int64 v5; // rax\n  __int64 v6; // r14\n  const char *v8; // r13\n  int v9; // r13d\n  unsigned int v10; // eax\n  __int64 v11; // rax\n  const std::string::value_type *CString; // rax\n  char v14; // [rsp-4h] [rbp-30h]\n  int v15; // [rsp+0h] [rbp-2Ch]\n\n  v14 = v4;\n  v15 = a4;\n  *(_OWORD *)&this->__r_.__value_.__l.0 = 0;\n  this->__r_.__value_.__r.__words[2] = 0;\n  v5 = *(_QWORD *)(a2 + 608);\n  if ( v5 )\n  {\n    v6 = *(_QWORD *)(v5 + 56);\n    if ( v6 )\n    {\n      while ( 1 )\n      {\n        v8 = (const char *)v6;\n        v6 = *(_QWORD *)(v6 + 288);\n        if ( strncmp(v8, \"dstar_\", 6u) )\n          goto LABEL_4;\n        v9 = atoi(v8 + 6);\n        if ( v9 <= a3 || v9 > v15 )\n          goto LABEL_4;\n        v10 = (unsigned int)this->__r_.__value_.__l.0;\n        if ( (v10 & 1) != 0 )\n          break;\n        if ( v10 >> 1 )\n          goto LABEL_11;\nLABEL_12:\n        v11 = sub_10088E820(\"%i\", v14);\n        CString = (const std::string::value_type *)cocos2d::CCString::getCString(v11);\n        std::string::append(this, CString);\nLABEL_4:\n        if ( !v6 )\n          return this;\n      }\n      if ( !this->__r_.__value_.__l.__size_ )\n        goto LABEL_12;\nLABEL_11:\n      std::string::append(this, \",\");\n      goto LABEL_12;\n    }\n  }\n  return this;\n}", "assembly": "; \n; GameStatsManager::getCompletedDailyIDs from 0x10003a680 to 0x10003a77a (250 bytes)\n; \n; 1 xrefs:\n; > GameLevelManager::getOnlineLevels @ 0x100558732\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 12:19:33 +0000\n; \npush    rbp                                                            ; +0x0, 0x10003a680\nmov     rbp, rsp                                                       ; +0x1, 0x10003a681\npush    r15                                                            ; +0x4, 0x10003a684\npush    r14                                                            ; +0x6, 0x10003a686\npush    r13                                                            ; +0x8, 0x10003a688\npush    r12                                                            ; +0xa, 0x10003a68a\npush    rbx                                                            ; +0xc, 0x10003a68c\npush    rax; char                                                      ; +0xd, 0x10003a68d\nmov     [rbp+var_2C], ecx                                              ; +0xe, 0x10003a68e\nmov     rbx, rdi                                                       ; +0x11, 0x10003a691\nxorps   xmm0, xmm0                                                     ; +0x14, 0x10003a694\nmovups  xmmword ptr [rdi], xmm0                                        ; +0x17, 0x10003a697\nmov     qword ptr [rdi+10h], 0                                         ; +0x1a, 0x10003a69a\nmov     rax, [rsi+260h]                                                ; +0x22, 0x10003a6a2\ntest    rax, rax                                                       ; +0x29, 0x10003a6a9\njz      loc_10003A768                                                  ; +0x2c, 0x10003a6ac\nmov     r14, [rax+38h]                                                 ; +0x32, 0x10003a6b2\ntest    r14, r14                                                       ; +0x36, 0x10003a6b6\njz      loc_10003A768                                                  ; +0x39, 0x10003a6b9\nmov     r15d, edx                                                      ; +0x3f, 0x10003a6bf\nlea     r12, __s2; \"dstar_\"                                            ; +0x42, 0x10003a6c2\njmp     short loc_10003A6D9                                            ; +0x49, 0x10003a6c9\nalign 10h                                                              ; +0x4b, 0x10003a6cb\ntest    r14, r14                                                       ; +0x50, 0x10003a6d0\njz      loc_10003A768                                                  ; +0x53, 0x10003a6d3\nmov     r13, r14                                                       ; +0x59, 0x10003a6d9\nmov     r14, [r14+120h]                                                ; +0x5c, 0x10003a6dc\nmov     edx, 6; __n                                                    ; +0x63, 0x10003a6e3\nmov     rdi, r13; __s1                                                 ; +0x68, 0x10003a6e8\nmov     rsi, r12; __s2                                                 ; +0x6b, 0x10003a6eb\ncall    _strncmp                                                       ; +0x6e, 0x10003a6ee\ntest    eax, eax                                                       ; +0x73, 0x10003a6f3\njnz     short loc_10003A6D0                                            ; +0x75, 0x10003a6f5\nadd     r13, 6                                                         ; +0x77, 0x10003a6f7\nmov     rdi, r13; char *                                               ; +0x7b, 0x10003a6fb\ncall    _atoi                                                          ; +0x7e, 0x10003a6fe\nmov     r13d, eax                                                      ; +0x83, 0x10003a703\ncmp     eax, r15d                                                      ; +0x86, 0x10003a706\nsetle   al                                                             ; +0x89, 0x10003a709\ncmp     r13d, [rbp+var_2C]                                             ; +0x8c, 0x10003a70c\nsetnle  cl                                                             ; +0x90, 0x10003a710\nor      cl, al                                                         ; +0x93, 0x10003a713\njnz     short loc_10003A6D0                                            ; +0x95, 0x10003a715\nmovzx   eax, byte ptr [rbx]                                            ; +0x97, 0x10003a717\ntest    al, 1                                                          ; +0x9a, 0x10003a71a\njz      short loc_10003A729                                            ; +0x9c, 0x10003a71c\nmov     rax, [rbx+8]                                                   ; +0x9e, 0x10003a71e\ntest    rax, rax                                                       ; +0xa2, 0x10003a722\njnz     short loc_10003A730                                            ; +0xa5, 0x10003a725\njmp     short loc_10003A73F                                            ; +0xa7, 0x10003a727\nshr     eax, 1                                                         ; +0xa9, 0x10003a729\ntest    rax, rax                                                       ; +0xab, 0x10003a72b\njz      short loc_10003A73F                                            ; +0xae, 0x10003a72e\nmov     rdi, rbx; this                                                 ; +0xb0, 0x10003a730\nlea     rsi, asc_100A41842; \",\"                                        ; +0xb3, 0x10003a733\ncall    __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEPKc; std::string::append(char const*) ; +0xba, 0x10003a73a\nlea     rdi, aI_14; \"%i\"                                               ; +0xbf, 0x10003a73f\nmov     esi, r13d                                                      ; +0xc6, 0x10003a746\nxor     eax, eax                                                       ; +0xc9, 0x10003a749\ncall    sub_10088E820                                                  ; +0xcb, 0x10003a74b\nmov     rdi, rax                                                       ; +0xd0, 0x10003a750\ncall    cocos2d__CCString__getCString                                  ; +0xd3, 0x10003a753\nmov     rdi, rbx; this                                                 ; +0xd8, 0x10003a758\nmov     rsi, rax; __s                                                  ; +0xdb, 0x10003a75b\ncall    __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEPKc; std::string::append(char const*) ; +0xde, 0x10003a75e\njmp     loc_10003A6D0                                                  ; +0xe3, 0x10003a763\nmov     rax, rbx                                                       ; +0xe8, 0x10003a768\nadd     rsp, 8                                                         ; +0xeb, 0x10003a76b\npop     rbx                                                            ; +0xef, 0x10003a76f\npop     r12                                                            ; +0xf0, 0x10003a770\npop     r13                                                            ; +0xf2, 0x10003a772\npop     r14                                                            ; +0xf4, 0x10003a774\npop     r15                                                            ; +0xf6, 0x10003a776\npop     rbp                                                            ; +0xf8, 0x10003a778\nretn                                                                   ; +0xf9, 0x10003a779", "xrefs": ["GameLevelManager::getOnlineLevels @ 0x100558732"], "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"}