{"type": "func", "start": 5373098256, "end": 5373098488, "name": "LevelListLayer::onLike", "pseudocode": "// \n// LevelListLayer::onLike from 0x14042f910 to 0x14042f9f8 (232 bytes)\n// \n// 2 xrefs:\n// > LevelListLayer::init @ 0x14042c3b2\n// > <???> @ 0x140926bf4\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:15 +0000\n// \n\nvoid __fastcall LevelListLayer::onLike(__int64 a1)\n{\n  __int64 v2; // rdx\n  __int64 v3; // rcx\n  _QWORD *v4; // rax\n  void *v5; // [rsp+30h] [rbp+8h]\n  void *v6; // [rsp+30h] [rbp+8h]\n\n  if ( !*(_BYTE *)(a1 + 968) )\n  {\n    v2 = qword_14090BFD0;\n    if ( !qword_14090BFD0 )\n    {\n      v5 = operator new(0x6E8u);\n      qword_14090BFD0 = GameManager::GameManager((__int64)v5);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n      v2 = qword_14090BFD0;\n    }\n    if ( *(_DWORD *)(v2 + 692) == *(_DWORD *)(v2 + 696) )\n    {\n      v3 = *(_QWORD *)&qword_14090BFB0;\n      if ( !*(_QWORD *)&qword_14090BFB0 )\n      {\n        v6 = operator new(0x690u);\n        *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v6);\n        (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n        v3 = *(_QWORD *)&qword_14090BFB0;\n      }\n      GameLevelManager::updateUserScore(v3);\n    }\n    v4 = (_QWORD *)LikeItemLayer::create(4, *(unsigned int *)(*(_QWORD *)(a1 + 920) + 344LL), 0);\n    v4[85] = a1 + 856;\n    (*(void (__fastcall **)(_QWORD *))(*v4 + 1064LL))(v4);\n  }\n}", "assembly": "; \n; LevelListLayer::onLike from 0x14042f910 to 0x14042f9f8 (232 bytes)\n; \n; 2 xrefs:\n; > LevelListLayer::init @ 0x14042c3b2\n; > <???> @ 0x140926bf4\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:15 +0000\n; \npush    rbx                                                            ; +0x0, 0x14042f910\nsub     rsp, 20h                                                       ; +0x2, 0x14042f912\nmov     rbx, rcx                                                       ; +0x6, 0x14042f916\ncmp     byte ptr [rcx+3C8h], 0                                         ; +0x9, 0x14042f919\njnz     loc_14042F9F2                                                  ; +0x10, 0x14042f920\nmov     rdx, cs:qword_14090BFD0                                        ; +0x16, 0x14042f926\ntest    rdx, rdx                                                       ; +0x1d, 0x14042f92d\njnz     short loc_14042F964                                            ; +0x20, 0x14042f930\nmov     ecx, 6E8h; Size                                                ; +0x22, 0x14042f932\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x27, 0x14042f937\nmov     [rsp+28h+arg_0], rax                                           ; +0x2c, 0x14042f93c\nmov     rcx, rax                                                       ; +0x31, 0x14042f941\ncall    GameManager__GameManager                                       ; +0x34, 0x14042f944\nnop                                                                    ; +0x39, 0x14042f949\nmov     cs:qword_14090BFD0, rax                                        ; +0x3a, 0x14042f94a\nmov     rcx, [rax]                                                     ; +0x41, 0x14042f951\nmov     rdx, [rcx+48h]                                                 ; +0x44, 0x14042f954\nmov     rcx, rax                                                       ; +0x48, 0x14042f958\ncall    rdx                                                            ; +0x4b, 0x14042f95b\nmov     rdx, cs:qword_14090BFD0                                        ; +0x4d, 0x14042f95d\nmov     eax, [rdx+2B4h]                                                ; +0x54, 0x14042f964\ncmp     eax, [rdx+2B8h]                                                ; +0x5a, 0x14042f96a\njnz     short loc_14042F9B5                                            ; +0x60, 0x14042f970\nmov     rcx, cs:qword_14090BFB0                                        ; +0x62, 0x14042f972\ntest    rcx, rcx                                                       ; +0x69, 0x14042f979\njnz     short loc_14042F9B0                                            ; +0x6c, 0x14042f97c\nmov     ecx, 690h; Size                                                ; +0x6e, 0x14042f97e\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x73, 0x14042f983\nmov     [rsp+28h+arg_0], rax                                           ; +0x78, 0x14042f988\nmov     rcx, rax                                                       ; +0x7d, 0x14042f98d\ncall    GameLevelManager__GameLevelManager                             ; +0x80, 0x14042f990\nnop                                                                    ; +0x85, 0x14042f995\nmov     cs:qword_14090BFB0, rax                                        ; +0x86, 0x14042f996\nmov     rcx, [rax]                                                     ; +0x8d, 0x14042f99d\nmov     rdx, [rcx+48h]                                                 ; +0x90, 0x14042f9a0\nmov     rcx, rax                                                       ; +0x94, 0x14042f9a4\ncall    rdx                                                            ; +0x97, 0x14042f9a7\nmov     rcx, cs:qword_14090BFB0                                        ; +0x99, 0x14042f9a9\ncall    GameLevelManager__updateUserScore                              ; +0xa0, 0x14042f9b0\nmov     rdx, [rbx+398h]                                                ; +0xa5, 0x14042f9b5\nxor     r8d, r8d                                                       ; +0xac, 0x14042f9bc\nmov     edx, [rdx+158h]                                                ; +0xaf, 0x14042f9bf\nmov     ecx, 4                                                         ; +0xb5, 0x14042f9c5\ncall    LikeItemLayer__create                                          ; +0xba, 0x14042f9ca\nlea     rcx, [rbx+358h]                                                ; +0xbf, 0x14042f9cf\nmov     [rax+2A8h], rcx                                                ; +0xc6, 0x14042f9d6\nmov     rcx, [rax]                                                     ; +0xcd, 0x14042f9dd\nmov     rdx, [rcx+428h]                                                ; +0xd0, 0x14042f9e0\nmov     rcx, rax                                                       ; +0xd7, 0x14042f9e7\nadd     rsp, 20h                                                       ; +0xda, 0x14042f9ea\npop     rbx                                                            ; +0xde, 0x14042f9ee\njmp     rdx                                                            ; +0xdf, 0x14042f9ef\nadd     rsp, 20h                                                       ; +0xe2, 0x14042f9f2\npop     rbx                                                            ; +0xe6, 0x14042f9f6\nretn                                                                   ; +0xe7, 0x14042f9f7", "xrefs": ["LevelListLayer::init @ 0x14042c3b2", "<???> @ 0x140926bf4"], "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"}