{"type": "func", "start": 4300569232, "end": 4300569371, "name": "GameLevelManager::hasLikedItemFullCheck", "pseudocode": "// \n// GameLevelManager::hasLikedItemFullCheck from 0x100557a90 to 0x100557b1b (139 bytes)\n// \n// 5 xrefs:\n// > CommentCell::onLike @ 0x100254f2c\n// > LevelInfoLayer::updateSideButtons @ 0x1002c1c7c\n// > LevelListLayer::init @ 0x10035d5ab\n// > LevelListLayer::updateSideButtons @ 0x10035e10f\n// > LevelListLayer::likedItem @ 0x1003603a9\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nbool __fastcall GameLevelManager::hasLikedItemFullCheck(GameLevelManager *a1, LikeItemType a2, int a3, bool a4, int a5)\n{\n  _BOOL4 v5; // ebx\n\n  v5 = a4;\n  if ( a2 == AccountComment )\n  {\n    if ( !GameLevelManager::hasLikedAccountItem(a1, AccountComment, a3, 1, a4) )\n      return GameLevelManager::hasLikedAccountItem(a1, AccountComment, a3, 0, v5);\n    return 1;\n  }\n  if ( GameLevelManager::hasLikedItem(a1, a2, a3, 1, a4) )\n    return 1;\n  return GameLevelManager::hasLikedItem(a1, a2, a3, 0, v5);\n}", "assembly": "; \n; GameLevelManager::hasLikedItemFullCheck from 0x100557a90 to 0x100557b1b (139 bytes)\n; \n; 5 xrefs:\n; > CommentCell::onLike @ 0x100254f2c\n; > LevelInfoLayer::updateSideButtons @ 0x1002c1c7c\n; > LevelListLayer::init @ 0x10035d5ab\n; > LevelListLayer::updateSideButtons @ 0x10035e10f\n; > LevelListLayer::likedItem @ 0x1003603a9\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x100557a90\nmov     rbp, rsp                                                       ; +0x1, 0x100557a91\npush    r15                                                            ; +0x4, 0x100557a94\npush    r14                                                            ; +0x6, 0x100557a96\npush    r12                                                            ; +0x8, 0x100557a98\npush    rbx                                                            ; +0xa, 0x100557a9a\nmov     ebx, ecx                                                       ; +0xb, 0x100557a9b\nmov     r14d, edx                                                      ; +0xd, 0x100557a9d\nmov     r15, rdi                                                       ; +0x10, 0x100557aa0\ncmp     esi, 3                                                         ; +0x13, 0x100557aa3\njnz     short loc_100557ADE                                            ; +0x16, 0x100557aa6\nmov     esi, 3                                                         ; +0x18, 0x100557aa8\nmov     edx, r14d                                                      ; +0x1d, 0x100557aad\nmov     ecx, 1                                                         ; +0x20, 0x100557ab0\nmov     r8d, ebx                                                       ; +0x25, 0x100557ab5\ncall    GameLevelManager__hasLikedAccountItem                          ; +0x28, 0x100557ab8\ntest    al, al                                                         ; +0x2d, 0x100557abd\njnz     short loc_100557AF5                                            ; +0x2f, 0x100557abf\nmov     rdi, r15                                                       ; +0x31, 0x100557ac1\nmov     esi, 3                                                         ; +0x34, 0x100557ac4\nmov     edx, r14d                                                      ; +0x39, 0x100557ac9\nxor     ecx, ecx                                                       ; +0x3c, 0x100557acc\nmov     r8d, ebx                                                       ; +0x3e, 0x100557ace\npop     rbx                                                            ; +0x41, 0x100557ad1\npop     r12                                                            ; +0x42, 0x100557ad2\npop     r14                                                            ; +0x44, 0x100557ad4\npop     r15                                                            ; +0x46, 0x100557ad6\npop     rbp                                                            ; +0x48, 0x100557ad8\njmp     GameLevelManager__hasLikedAccountItem                          ; +0x49, 0x100557ad9\nmov     r12d, esi                                                      ; +0x4e, 0x100557ade\nmov     edx, r14d                                                      ; +0x51, 0x100557ae1\nmov     ecx, 1                                                         ; +0x54, 0x100557ae4\nmov     r8d, ebx                                                       ; +0x59, 0x100557ae9\ncall    GameLevelManager__hasLikedItem                                 ; +0x5c, 0x100557aec\ntest    al, al                                                         ; +0x61, 0x100557af1\njz      short loc_100557B00                                            ; +0x63, 0x100557af3\nmov     al, 1                                                          ; +0x65, 0x100557af5\npop     rbx                                                            ; +0x67, 0x100557af7\npop     r12                                                            ; +0x68, 0x100557af8\npop     r14                                                            ; +0x6a, 0x100557afa\npop     r15                                                            ; +0x6c, 0x100557afc\npop     rbp                                                            ; +0x6e, 0x100557afe\nretn                                                                   ; +0x6f, 0x100557aff\nmov     rdi, r15                                                       ; +0x70, 0x100557b00\nmov     esi, r12d                                                      ; +0x73, 0x100557b03\nmov     edx, r14d                                                      ; +0x76, 0x100557b06\nxor     ecx, ecx                                                       ; +0x79, 0x100557b09\nmov     r8d, ebx                                                       ; +0x7b, 0x100557b0b\npop     rbx                                                            ; +0x7e, 0x100557b0e\npop     r12                                                            ; +0x7f, 0x100557b0f\npop     r14                                                            ; +0x81, 0x100557b11\npop     r15                                                            ; +0x83, 0x100557b13\npop     rbp                                                            ; +0x85, 0x100557b15\njmp     GameLevelManager__hasLikedItem                                 ; +0x86, 0x100557b16", "xrefs": ["CommentCell::onLike @ 0x100254f2c", "LevelInfoLayer::updateSideButtons @ 0x1002c1c7c", "LevelListLayer::init @ 0x10035d5ab", "LevelListLayer::updateSideButtons @ 0x10035e10f", "LevelListLayer::likedItem @ 0x1003603a9"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}