{"type": "func", "start": 4295157032, "end": 4295157136, "name": "LevelInfoLayer::likedItem", "pseudocode": "// \n// LevelInfoLayer::likedItem from 0x10002e528 to 0x10002e590 (104 bytes)\n// \n// 2 xrefs:\n// > sub_10002E590 @ 0x10002e594\n// > <???> @ 0x1008b09a8\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 10:57:29 +0000\n// \n\nvoid __fastcall LevelInfoLayer::likedItem(__int64 a1, __int64 a2, int a3, int a4)\n{\n  __int64 v6; // x8\n\n  if ( *(_DWORD *)(*(_QWORD *)(a1 + 504) + 328LL) - *(_DWORD *)(*(_QWORD *)(a1 + 504) + 332LL) == a3 )\n  {\n    LevelInfoLayer::updateSideButtons(a1);\n    v6 = *(_QWORD *)(a1 + 504);\n    if ( a4 )\n      ++*(_DWORD *)(v6 + 892);\n    else\n      ++*(_DWORD *)(v6 + 896);\n    LevelInfoLayer::updateLabelValues(a1);\n  }\n}", "assembly": "; \n; LevelInfoLayer::likedItem from 0x10002e528 to 0x10002e590 (104 bytes)\n; \n; 2 xrefs:\n; > sub_10002E590 @ 0x10002e594\n; > <???> @ 0x1008b09a8\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 10:57:29 +0000\n; \nLDR             X8, [X0,#0x1F8]                                        ; +0x0, 0x10002e528\nLDR             W9, [X8,#0x148]                                        ; +0x4, 0x10002e52c\nLDR             W8, [X8,#0x14C]                                        ; +0x8, 0x10002e530\nSUB             W8, W9, W8                                             ; +0xc, 0x10002e534\nCMP             W8, W2                                                 ; +0x10, 0x10002e538\nB.NE            locret_10002E570                                       ; +0x14, 0x10002e53c\nSTP             X20, X19, [SP,#var_20]!                                ; +0x18, 0x10002e540\nSTP             X29, X30, [SP,#0x20+var_10]                            ; +0x1c, 0x10002e544\nADD             X29, SP, #0x20+var_10                                  ; +0x20, 0x10002e548\nMOV             X20, X3                                                ; +0x24, 0x10002e54c\nMOV             X19, X0                                                ; +0x28, 0x10002e550\nBL              LevelInfoLayer__updateSideButtons                      ; +0x2c, 0x10002e554\nLDR             X8, [X19,#0x1F8]                                       ; +0x30, 0x10002e558\nCBZ             W20, loc_10002E574                                     ; +0x34, 0x10002e55c\nLDR             W9, [X8,#0x37C]                                        ; +0x38, 0x10002e560\nADD             W9, W9, #1                                             ; +0x3c, 0x10002e564\nSTR             W9, [X8,#0x37C]                                        ; +0x40, 0x10002e568\nB               loc_10002E580                                          ; +0x44, 0x10002e56c\nRET                                                                    ; +0x48, 0x10002e570\nLDR             W9, [X8,#0x380]                                        ; +0x4c, 0x10002e574\nADD             W9, W9, #1                                             ; +0x50, 0x10002e578\nSTR             W9, [X8,#0x380]                                        ; +0x54, 0x10002e57c\nMOV             X0, X19                                                ; +0x58, 0x10002e580\nLDP             X29, X30, [SP,#0x20+var_10]                            ; +0x5c, 0x10002e584\nLDP             X20, X19, [SP+0x20+var_20],#0x20                       ; +0x60, 0x10002e588\nB               LevelInfoLayer__updateLabelValues                      ; +0x64, 0x10002e58c", "xrefs": ["sub_10002E590 @ 0x10002e594", "<???> @ 0x1008b09a8"], "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"}