{"type": "func", "start": 4300730496, "end": 4300730635, "name": "GameLevelManager::hasLikedItemFullCheck", "pseudocode": "// \n// GameLevelManager::hasLikedItemFullCheck from 0x10057f080 to 0x10057f10b (139 bytes)\n// \n// 7 xrefs:\n// > CommentCell::onLike @ 0x10023e01a\n// > LevelInfoLayer::updateSideButtons @ 0x1002ae84c\n// > LevelListLayer::init @ 0x100348b76\n// > LevelListLayer::updateSideButtons @ 0x1003496ff\n// > LevelListLayer::likedItem @ 0x10034ba99\n// > sub_1008F6C60 @ 0x1008f6ca4\n// > sub_1008F6D10 @ 0x1008f6d66\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:32:19 +0000\n// \n\nchar __fastcall GameLevelManager::hasLikedItemFullCheck(__int64 a1, __int64 a2, unsigned int a3, unsigned int a4)\n{\n  if ( (_DWORD)a2 == 3 )\n  {\n    if ( !(unsigned __int8)sub_10057F970(a1, 3, a3, 1, a4) )\n      return sub_10057F970(a1, 3, a3, 0, a4);\n    return 1;\n  }\n  if ( (unsigned __int8)GameLevelManager::hasLikedItem(a1, a2, a3, 1, a4) )\n    return 1;\n  return GameLevelManager::hasLikedItem(a1, (unsigned int)a2, a3, 0, a4);\n}", "assembly": "; \n; GameLevelManager::hasLikedItemFullCheck from 0x10057f080 to 0x10057f10b (139 bytes)\n; \n; 7 xrefs:\n; > CommentCell::onLike @ 0x10023e01a\n; > LevelInfoLayer::updateSideButtons @ 0x1002ae84c\n; > LevelListLayer::init @ 0x100348b76\n; > LevelListLayer::updateSideButtons @ 0x1003496ff\n; > LevelListLayer::likedItem @ 0x10034ba99\n; > sub_1008F6C60 @ 0x1008f6ca4\n; > sub_1008F6D10 @ 0x1008f6d66\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:32:19 +0000\n; \npush    rbp                                                            ; +0x0, 0x10057f080\nmov     rbp, rsp                                                       ; +0x1, 0x10057f081\npush    r15                                                            ; +0x4, 0x10057f084\npush    r14                                                            ; +0x6, 0x10057f086\npush    r12                                                            ; +0x8, 0x10057f088\npush    rbx                                                            ; +0xa, 0x10057f08a\nmov     ebx, ecx                                                       ; +0xb, 0x10057f08b\nmov     r14d, edx                                                      ; +0xd, 0x10057f08d\nmov     r15, rdi                                                       ; +0x10, 0x10057f090\ncmp     esi, 3                                                         ; +0x13, 0x10057f093\njnz     short loc_10057F0CE                                            ; +0x16, 0x10057f096\nmov     esi, 3                                                         ; +0x18, 0x10057f098\nmov     edx, r14d                                                      ; +0x1d, 0x10057f09d\nmov     ecx, 1                                                         ; +0x20, 0x10057f0a0\nmov     r8d, ebx                                                       ; +0x25, 0x10057f0a5\ncall    sub_10057F970                                                  ; +0x28, 0x10057f0a8\ntest    al, al                                                         ; +0x2d, 0x10057f0ad\njnz     short loc_10057F0E5                                            ; +0x2f, 0x10057f0af\nmov     rdi, r15                                                       ; +0x31, 0x10057f0b1\nmov     esi, 3                                                         ; +0x34, 0x10057f0b4\nmov     edx, r14d                                                      ; +0x39, 0x10057f0b9\nxor     ecx, ecx                                                       ; +0x3c, 0x10057f0bc\nmov     r8d, ebx                                                       ; +0x3e, 0x10057f0be\npop     rbx                                                            ; +0x41, 0x10057f0c1\npop     r12                                                            ; +0x42, 0x10057f0c2\npop     r14                                                            ; +0x44, 0x10057f0c4\npop     r15                                                            ; +0x46, 0x10057f0c6\npop     rbp                                                            ; +0x48, 0x10057f0c8\njmp     sub_10057F970                                                  ; +0x49, 0x10057f0c9\nmov     r12d, esi                                                      ; +0x4e, 0x10057f0ce\nmov     edx, r14d                                                      ; +0x51, 0x10057f0d1\nmov     ecx, 1                                                         ; +0x54, 0x10057f0d4\nmov     r8d, ebx                                                       ; +0x59, 0x10057f0d9\ncall    GameLevelManager__hasLikedItem                                 ; +0x5c, 0x10057f0dc\ntest    al, al                                                         ; +0x61, 0x10057f0e1\njz      short loc_10057F0F0                                            ; +0x63, 0x10057f0e3\nmov     al, 1                                                          ; +0x65, 0x10057f0e5\npop     rbx                                                            ; +0x67, 0x10057f0e7\npop     r12                                                            ; +0x68, 0x10057f0e8\npop     r14                                                            ; +0x6a, 0x10057f0ea\npop     r15                                                            ; +0x6c, 0x10057f0ec\npop     rbp                                                            ; +0x6e, 0x10057f0ee\nretn                                                                   ; +0x6f, 0x10057f0ef\nmov     rdi, r15                                                       ; +0x70, 0x10057f0f0\nmov     esi, r12d                                                      ; +0x73, 0x10057f0f3\nmov     edx, r14d                                                      ; +0x76, 0x10057f0f6\nxor     ecx, ecx                                                       ; +0x79, 0x10057f0f9\nmov     r8d, ebx                                                       ; +0x7b, 0x10057f0fb\npop     rbx                                                            ; +0x7e, 0x10057f0fe\npop     r12                                                            ; +0x7f, 0x10057f0ff\npop     r14                                                            ; +0x81, 0x10057f101\npop     r15                                                            ; +0x83, 0x10057f103\npop     rbp                                                            ; +0x85, 0x10057f105\njmp     GameLevelManager__hasLikedItem                                 ; +0x86, 0x10057f106", "xrefs": ["CommentCell::onLike @ 0x10023e01a", "LevelInfoLayer::updateSideButtons @ 0x1002ae84c", "LevelListLayer::init @ 0x100348b76", "LevelListLayer::updateSideButtons @ 0x1003496ff", "LevelListLayer::likedItem @ 0x10034ba99", "sub_1008F6C60 @ 0x1008f6ca4", "sub_1008F6D10 @ 0x1008f6d66"], "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"}