{"type": "func", "start": 4296084992, "end": 4296085040, "name": "CommentCell::likedItem", "pseudocode": "// \n// CommentCell::likedItem from 0x100110e00 to 0x100110e30 (48 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10078b9d8\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\nvoid __fastcall CommentCell::likedItem(CommentCell *a1, LikeItemType a2, int a3, bool a4)\n{\n  GJComment *m_comment; // x8\n  int m_likeCount; // w9\n  int v6; // w9\n\n  m_comment = a1->m_comment;\n  if ( m_comment && m_comment->m_commentID == a3 )\n  {\n    m_likeCount = m_comment->m_likeCount;\n    if ( a4 )\n      v6 = m_likeCount + 1;\n    else\n      v6 = m_likeCount - 1;\n    m_comment->m_likeCount = v6;\n    CommentCell::updateLabelValues(a1);\n  }\n}", "assembly": "; \n; CommentCell::likedItem from 0x100110e00 to 0x100110e30 (48 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10078b9d8\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\nLDR             X8, [X0,#0x248]                                        ; +0x0, 0x100110e00\nCBZ             X8, locret_100110E2C                                   ; +0x4, 0x100110e04\nLDR             W9, [X8,#0x170]                                        ; +0x8, 0x100110e08\nCMP             W9, W2                                                 ; +0xc, 0x100110e0c\nB.NE            locret_100110E2C                                       ; +0x10, 0x100110e10\nLDR             W9, [X8,#0x178]                                        ; +0x14, 0x100110e14\nSUB             W10, W9, #1                                            ; +0x18, 0x100110e18\nCMP             W3, #0                                                 ; +0x1c, 0x100110e1c\nCSINC           W9, W10, W9, EQ                                        ; +0x20, 0x100110e20\nSTR             W9, [X8,#0x178]                                        ; +0x24, 0x100110e24\nB               CommentCell__updateLabelValues                         ; +0x28, 0x100110e28\nRET                                                                    ; +0x2c, 0x100110e2c", "xrefs": ["<???> @ 0x10078b9d8"], "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"}