{"type": "func", "start": 5371182448, "end": 5371182686, "name": "GameLevelManager::hasLikedAccountItem", "pseudocode": "// \n// GameLevelManager::hasLikedAccountItem from 0x14025bd70 to 0x14025be5e (238 bytes)\n// \n// 13 xrefs:\n// > EditorSoundConfigInfoLayer::refreshLikeState @ 0x140194735\n// > EditorSoundConfigInfoLayer::refreshLikeState @ 0x140194750\n// > EditorSoundConfigInfoLayer::onLike @ 0x140195a65\n// > EditorSoundConfigInfoLayer::onLike @ 0x140195a88\n// > GameLevelManager::hasLikedItemFullCheck @ 0x14025bd0b\n// > GameLevelManager::hasLikedItemFullCheck @ 0x14025bd23\n// > GameLevelManager::hasLikedItemFullCheck @ 0x14025bd2f\n// > GameLevelManager::hasLikedItemFullCheck @ 0x14025bd4a\n// > LevelInfoLayer::updateSideButtons @ 0x140424169\n// > LevelInfoLayer::updateSideButtons @ 0x140424188\n// > LevelListLayer::updateSideButtons @ 0x14042fae1\n// > LevelListLayer::updateSideButtons @ 0x14042fb00\n// > <???> @ 0x14091c730\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:28:46 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n_BOOL8 __fastcall GameLevelManager::hasLikedAccountItem(__int64 a1, __int64 a2, __int64 a3, unsigned __int8 a4, int a5)\n{\n  cocos2d::CCString *v6; // rax\n  const char *CString; // rax\n  size_t v8; // r8\n  bool v9; // bl\n  void *v10; // rcx\n  void *Block[2]; // [rsp+30h] [rbp-38h] BYREF\n  __int128 v14; // [rsp+40h] [rbp-28h]\n\n  v6 = cocos2d::CCString::createWithFormat(\"like_%i_%i_%i_%i\", a2, a3, a4, a5);\n  CString = cocos2d::CCString::getCString(v6);\n  *(_OWORD *)Block = 0;\n  v14 = 0;\n  v8 = -1;\n  do\n    ++v8;\n  while ( CString[v8] );\n  sub_14003D230(Block, CString, v8);\n  v9 = cocos2d::CCDictionary::objectForKey(*(_QWORD *)(a1 + 896), Block) != 0;\n  if ( *((_QWORD *)&v14 + 1) > 0xFu )\n  {\n    v10 = Block[0];\n    if ( (unsigned __int64)(*((_QWORD *)&v14 + 1) + 1LL) >= 0x1000 )\n    {\n      v10 = *((void **)Block[0] - 1);\n      if ( (unsigned __int64)((char *)Block[0] - (char *)v10 - 8) > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n    }\n    j_j_free(v10);\n  }\n  return v9;\n}", "assembly": "; \n; GameLevelManager::hasLikedAccountItem from 0x14025bd70 to 0x14025be5e (238 bytes)\n; \n; 13 xrefs:\n; > EditorSoundConfigInfoLayer::refreshLikeState @ 0x140194735\n; > EditorSoundConfigInfoLayer::refreshLikeState @ 0x140194750\n; > EditorSoundConfigInfoLayer::onLike @ 0x140195a65\n; > EditorSoundConfigInfoLayer::onLike @ 0x140195a88\n; > GameLevelManager::hasLikedItemFullCheck @ 0x14025bd0b\n; > GameLevelManager::hasLikedItemFullCheck @ 0x14025bd23\n; > GameLevelManager::hasLikedItemFullCheck @ 0x14025bd2f\n; > GameLevelManager::hasLikedItemFullCheck @ 0x14025bd4a\n; > LevelInfoLayer::updateSideButtons @ 0x140424169\n; > LevelInfoLayer::updateSideButtons @ 0x140424188\n; > LevelListLayer::updateSideButtons @ 0x14042fae1\n; > LevelListLayer::updateSideButtons @ 0x14042fb00\n; > <???> @ 0x14091c730\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:28:46 +0000\n; \npush    rbx                                                            ; +0x0, 0x14025bd70\nsub     rsp, 60h                                                       ; +0x2, 0x14025bd72\nmov     rax, cs:__security_cookie                                      ; +0x6, 0x14025bd76\nxor     rax, rsp                                                       ; +0xd, 0x14025bd7d\nmov     [rsp+68h+var_18], rax                                          ; +0x10, 0x14025bd80\nmov     rbx, rcx                                                       ; +0x15, 0x14025bd85\nmov     eax, [rsp+68h+arg_20]                                          ; +0x18, 0x14025bd88\nmovzx   r9d, r9b                                                       ; +0x1f, 0x14025bd8f\nmov     dword ptr [rsp+68h+Reserved], eax                              ; +0x23, 0x14025bd93\nlea     rcx, aLikeIIII; \"like_%i_%i_%i_%i\"                             ; +0x27, 0x14025bd97\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x2e, 0x14025bd9e\nmov     rcx, rax                                                       ; +0x34, 0x14025bda4\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x37, 0x14025bda7\nxorps   xmm0, xmm0                                                     ; +0x3d, 0x14025bdad\nmovups  xmmword ptr [rsp+68h+Block], xmm0                              ; +0x40, 0x14025bdb0\nxorps   xmm1, xmm1                                                     ; +0x45, 0x14025bdb5\nmovdqu  [rsp+68h+var_28], xmm1                                         ; +0x48, 0x14025bdb8\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x4e, 0x14025bdbe\ninc     r8                                                             ; +0x55, 0x14025bdc5\ncmp     byte ptr [rax+r8], 0                                           ; +0x58, 0x14025bdc8\njnz     short loc_14025BDC5                                            ; +0x5d, 0x14025bdcd\nmov     rdx, rax                                                       ; +0x5f, 0x14025bdcf\nlea     rcx, [rsp+68h+Block]                                           ; +0x62, 0x14025bdd2\ncall    sub_14003D230                                                  ; +0x67, 0x14025bdd7\nnop                                                                    ; +0x6c, 0x14025bddc\nlea     rdx, [rsp+68h+Block]                                           ; +0x6d, 0x14025bddd\nmov     rcx, [rbx+380h]                                                ; +0x72, 0x14025bde2\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 &) ; +0x79, 0x14025bde9\ntest    rax, rax                                                       ; +0x7f, 0x14025bdef\nsetnz   bl                                                             ; +0x82, 0x14025bdf2\nmov     rdx, qword ptr [rsp+68h+var_28+8]                              ; +0x85, 0x14025bdf5\ncmp     rdx, 0Fh                                                       ; +0x8a, 0x14025bdfa\njbe     short loc_14025BE48                                            ; +0x8e, 0x14025bdfe\ninc     rdx                                                            ; +0x90, 0x14025be00\nmov     rcx, [rsp+68h+Block]; Block                                    ; +0x93, 0x14025be03\nmov     rax, rcx                                                       ; +0x98, 0x14025be08\ncmp     rdx, 1000h                                                     ; +0x9b, 0x14025be0b\njb      short loc_14025BE43                                            ; +0xa2, 0x14025be12\nadd     rdx, 27h ; '''                                                 ; +0xa4, 0x14025be14\nmov     rcx, [rcx-8]                                                   ; +0xa8, 0x14025be18\nsub     rax, rcx                                                       ; +0xac, 0x14025be1c\nsub     rax, 8                                                         ; +0xaf, 0x14025be1f\ncmp     rax, 1Fh                                                       ; +0xb3, 0x14025be23\njbe     short loc_14025BE43                                            ; +0xb7, 0x14025be27\nmov     [rsp+68h+Reserved], 0; Reserved                                ; +0xb9, 0x14025be29\nxor     r9d, r9d; LineNo                                               ; +0xc2, 0x14025be32\nxor     r8d, r8d; FileName                                             ; +0xc5, 0x14025be35\nxor     edx, edx; FunctionName                                         ; +0xc8, 0x14025be38\nxor     ecx, ecx; Expression                                           ; +0xca, 0x14025be3a\ncall    cs:_invoke_watson                                              ; +0xcc, 0x14025be3c\ndb 0CCh                                                                ; +0xd2, 0x14025be42\ncall    j_j_free                                                       ; +0xd3, 0x14025be43\nmovzx   eax, bl                                                        ; +0xd8, 0x14025be48\nmov     rcx, [rsp+68h+var_18]                                          ; +0xdb, 0x14025be4b\nxor     rcx, rsp; StackCookie                                          ; +0xe0, 0x14025be50\ncall    __security_check_cookie                                        ; +0xe3, 0x14025be53\nadd     rsp, 60h                                                       ; +0xe8, 0x14025be58\npop     rbx                                                            ; +0xec, 0x14025be5c\nretn                                                                   ; +0xed, 0x14025be5d", "xrefs": ["EditorSoundConfigInfoLayer::refreshLikeState @ 0x140194735", "EditorSoundConfigInfoLayer::refreshLikeState @ 0x140194750", "EditorSoundConfigInfoLayer::onLike @ 0x140195a65", "EditorSoundConfigInfoLayer::onLike @ 0x140195a88", "GameLevelManager::hasLikedItemFullCheck @ 0x14025bd0b", "GameLevelManager::hasLikedItemFullCheck @ 0x14025bd23", "GameLevelManager::hasLikedItemFullCheck @ 0x14025bd2f", "GameLevelManager::hasLikedItemFullCheck @ 0x14025bd4a", "LevelInfoLayer::updateSideButtons @ 0x140424169", "LevelInfoLayer::updateSideButtons @ 0x140424188", "LevelListLayer::updateSideButtons @ 0x14042fae1", "LevelListLayer::updateSideButtons @ 0x14042fb00", "<???> @ 0x14091c730"], "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"}