{"type": "func", "start": 4297998332, "end": 4297998416, "name": "LevelListLayer::likedItem", "pseudocode": "// \n// LevelListLayer::likedItem from 0x1002e3ffc to 0x1002e4050 (84 bytes)\n// \n// 2 xrefs:\n// > sub_1002E4050 @ 0x1002e4054\n// > <???> @ 0x100923a28\n// \n// This function is hookable on this platform (idp: arm, 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:02:49 +0000\n// \n\nvoid __fastcall LevelListLayer::likedItem(__int64 *a1, __int64 a2, int a3, int a4)\n{\n  __int64 v6; // x8\n  int v7; // w9\n  int v8; // w9\n\n  if ( *(_DWORD *)(a1[114] + 344) == a3 )\n  {\n    LevelListLayer::updateSideButtons((__int64)a1);\n    v6 = a1[114];\n    v7 = *(_DWORD *)(v6 + 356);\n    if ( a4 )\n      v8 = v7 + 1;\n    else\n      v8 = v7 - 1;\n    *(_DWORD *)(v6 + 356) = v8;\n    LevelListLayer::updateStatsArt(a1);\n  }\n}", "assembly": "; \n; LevelListLayer::likedItem from 0x1002e3ffc to 0x1002e4050 (84 bytes)\n; \n; 2 xrefs:\n; > sub_1002E4050 @ 0x1002e4054\n; > <???> @ 0x100923a28\n; \n; This function is hookable on this platform (idp: arm, 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:02:49 +0000\n; \nLDR             X8, [X0,#0x390]                                        ; +0x0, 0x1002e3ffc\nLDR             W8, [X8,#0x158]                                        ; +0x4, 0x1002e4000\nCMP             W8, W2                                                 ; +0x8, 0x1002e4004\nB.NE            locret_1002E404C                                       ; +0xc, 0x1002e4008\nSTP             X20, X19, [SP,#var_20]!                                ; +0x10, 0x1002e400c\nSTP             X29, X30, [SP,#0x20+var_10]                            ; +0x14, 0x1002e4010\nADD             X29, SP, #0x20+var_10                                  ; +0x18, 0x1002e4014\nMOV             X20, X3                                                ; +0x1c, 0x1002e4018\nMOV             X19, X0                                                ; +0x20, 0x1002e401c\nBL              LevelListLayer__updateSideButtons                      ; +0x24, 0x1002e4020\nLDR             X8, [X19,#0x390]                                       ; +0x28, 0x1002e4024\nLDR             W9, [X8,#0x164]                                        ; +0x2c, 0x1002e4028\nSUB             W10, W9, #1                                            ; +0x30, 0x1002e402c\nCMP             W20, #0                                                ; +0x34, 0x1002e4030\nCSINC           W9, W10, W9, EQ                                        ; +0x38, 0x1002e4034\nSTR             W9, [X8,#0x164]                                        ; +0x3c, 0x1002e4038\nMOV             X0, X19                                                ; +0x40, 0x1002e403c\nLDP             X29, X30, [SP,#0x20+var_10]                            ; +0x44, 0x1002e4040\nLDP             X20, X19, [SP+0x20+var_20],#0x20                       ; +0x48, 0x1002e4044\nB               LevelListLayer__updateStatsArt                         ; +0x4c, 0x1002e4048\nRET                                                                    ; +0x50, 0x1002e404c", "xrefs": ["sub_1002E4050 @ 0x1002e4054", "<???> @ 0x100923a28"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}