{"type": "func", "start": 5373051008, "end": 5373051116, "name": "LevelInfoLayer::likedItem", "pseudocode": "// \n// LevelInfoLayer::likedItem from 0x140424080 to 0x1404240ec (108 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14078c560\n// > <???> @ 0x140926924\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:32:10 +0000\n// \n\n__int64 __fastcall LevelInfoLayer::likedItem(__int64 a1, __int64 a2, int a3, char a4)\n{\n  __int64 result; // rax\n  __int64 v5; // rbx\n  __int64 v7; // rax\n\n  result = *(_QWORD *)(a1 + 72);\n  v5 = a1 - 432;\n  if ( a3 == *(_DWORD *)(result + 328) - *(_DWORD *)(result + 332) )\n  {\n    LevelInfoLayer::updateSideButtons(a1 - 432);\n    v7 = *(_QWORD *)(v5 + 504);\n    if ( a4 )\n    {\n      ++*(_DWORD *)(v7 + 964);\n      return LevelInfoLayer::updateLabelValues(v5);\n    }\n    else\n    {\n      ++*(_DWORD *)(v7 + 968);\n      return LevelInfoLayer::updateLabelValues(v5);\n    }\n  }\n  return result;\n}", "assembly": "; \n; LevelInfoLayer::likedItem from 0x140424080 to 0x1404240ec (108 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14078c560\n; > <???> @ 0x140926924\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:32:10 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140424080\npush    rdi                                                            ; +0x5, 0x140424085\nsub     rsp, 20h                                                       ; +0x6, 0x140424086\nmov     rax, [rcx+48h]                                                 ; +0xa, 0x14042408a\nlea     rbx, [rcx-1B0h]                                                ; +0xe, 0x14042408e\nmovzx   edi, r9b                                                       ; +0x15, 0x140424095\nmov     edx, [rax+148h]                                                ; +0x19, 0x140424099\nsub     edx, [rax+14Ch]                                                ; +0x1f, 0x14042409f\ncmp     r8d, edx                                                       ; +0x25, 0x1404240a5\njnz     short loc_1404240E1                                            ; +0x28, 0x1404240a8\nmov     rcx, rbx                                                       ; +0x2a, 0x1404240aa\ncall    LevelInfoLayer__updateSideButtons                              ; +0x2d, 0x1404240ad\nmov     rax, [rbx+1F8h]                                                ; +0x32, 0x1404240b2\nmov     rcx, rbx                                                       ; +0x39, 0x1404240b9\ntest    dil, dil                                                       ; +0x3c, 0x1404240bc\njz      short loc_1404240D6                                            ; +0x3f, 0x1404240bf\ninc     dword ptr [rax+3C4h]                                           ; +0x41, 0x1404240c1\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x47, 0x1404240c7\nadd     rsp, 20h                                                       ; +0x4c, 0x1404240cc\npop     rdi                                                            ; +0x50, 0x1404240d0\njmp     LevelInfoLayer__updateLabelValues                              ; +0x51, 0x1404240d1\ninc     dword ptr [rax+3C8h]                                           ; +0x56, 0x1404240d6\ncall    LevelInfoLayer__updateLabelValues                              ; +0x5c, 0x1404240dc\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x61, 0x1404240e1\nadd     rsp, 20h                                                       ; +0x66, 0x1404240e6\npop     rdi                                                            ; +0x6a, 0x1404240ea\nretn                                                                   ; +0x6b, 0x1404240eb", "xrefs": ["<???> @ 0x14078c560", "<???> @ 0x140926924"], "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"}