{"type": "func", "start": 5371849104, "end": 5371849213, "name": "LevelInfoLayer::likedItem", "pseudocode": "// \n// LevelInfoLayer::likedItem from 0x1402fe990 to 0x1402fe9fd (109 bytes)\n// \n// 5 xrefs:\n// > <???> @ 0x140586cb0\n// > <???> @ 0x140690f20\n// > <???> @ 0x140690f34\n// > <???> @ 0x140690f44\n// > <???> @ 0x1406d42a4\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 LevelInfoLayer::likedItem(LevelInfoLayer *a1, LikeItemType a2, int a3, bool a4)\n{\n  LevelInfoLayer *v5; // rbx\n  GJGameLevel *m_level; // rax\n\n  if ( a3 == *(_DWORD *)(*(_QWORD *)&a1->m_fScaleX + 328LL) - *(_DWORD *)(*(_QWORD *)&a1->m_fScaleX + 332LL) )\n  {\n    v5 = (LevelInfoLayer *)((char *)a1 - 432);\n    LevelInfoLayer::updateSideButtons((LevelInfoLayer *)((char *)a1 - 432));\n    m_level = v5->m_level;\n    if ( a4 )\n    {\n      ++m_level->m_likes;\n      LevelInfoLayer::updateLabelValues(v5);\n    }\n    else\n    {\n      ++m_level->m_dislikes;\n      LevelInfoLayer::updateLabelValues(v5);\n    }\n  }\n}", "assembly": "; \n; LevelInfoLayer::likedItem from 0x1402fe990 to 0x1402fe9fd (109 bytes)\n; \n; 5 xrefs:\n; > <???> @ 0x140586cb0\n; > <???> @ 0x140690f20\n; > <???> @ 0x140690f34\n; > <???> @ 0x140690f44\n; > <???> @ 0x1406d42a4\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    rdi                                                            ; +0x0, 0x1402fe990\nsub     rsp, 20h                                                       ; +0x2, 0x1402fe992\nmov     rax, [rcx+40h]                                                 ; +0x6, 0x1402fe996\nmovzx   edi, r9b                                                       ; +0xa, 0x1402fe99a\nmov     edx, [rax+148h]                                                ; +0xe, 0x1402fe99e\nsub     edx, [rax+14Ch]                                                ; +0x14, 0x1402fe9a4\ncmp     r8d, edx                                                       ; +0x1a, 0x1402fe9aa\njnz     short loc_1402FE9F7                                            ; +0x1d, 0x1402fe9ad\nmov     [rsp+28h+arg_0], rbx                                           ; +0x1f, 0x1402fe9af\nlea     rbx, [rcx-1B0h]                                                ; +0x24, 0x1402fe9b4\nmov     rcx, rbx                                                       ; +0x2b, 0x1402fe9bb\ncall    LevelInfoLayer__updateSideButtons                              ; +0x2e, 0x1402fe9be\nmov     rax, [rbx+1F0h]                                                ; +0x33, 0x1402fe9c3\nmov     rcx, rbx                                                       ; +0x3a, 0x1402fe9ca\ntest    dil, dil                                                       ; +0x3d, 0x1402fe9cd\njz      short loc_1402FE9E7                                            ; +0x40, 0x1402fe9d0\ninc     dword ptr [rax+350h]                                           ; +0x42, 0x1402fe9d2\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x48, 0x1402fe9d8\nadd     rsp, 20h                                                       ; +0x4d, 0x1402fe9dd\npop     rdi                                                            ; +0x51, 0x1402fe9e1\njmp     LevelInfoLayer__updateLabelValues                              ; +0x52, 0x1402fe9e2\ninc     dword ptr [rax+354h]                                           ; +0x57, 0x1402fe9e7\ncall    LevelInfoLayer__updateLabelValues                              ; +0x5d, 0x1402fe9ed\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x62, 0x1402fe9f2\nadd     rsp, 20h                                                       ; +0x67, 0x1402fe9f7\npop     rdi                                                            ; +0x6b, 0x1402fe9fb\nretn                                                                   ; +0x6c, 0x1402fe9fc", "xrefs": ["<???> @ 0x140586cb0", "<???> @ 0x140690f20", "<???> @ 0x140690f34", "<???> @ 0x140690f44", "<???> @ 0x1406d42a4"], "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"}