{"type": "func", "start": 4297319584, "end": 4297319751, "name": "CommentCell::incrementLikes", "pseudocode": "// \n// CommentCell::incrementLikes from 0x10023e4a0 to 0x10023e547 (167 bytes)\n// \n// 0 xrefs:\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 12:27:17 +0000\n// \n\n__int64 __fastcall CommentCell::incrementLikes(_QWORD *a1)\n{\n  char v1; // al\n  __int64 result; // rax\n  int v3; // r15d\n  __int64 v4; // r14\n  __int64 v5; // rax\n  __int64 CString; // rax\n  __int64 v7; // rbx\n  __int64 v8; // rax\n  const char *v9; // rsi\n  __int64 v10; // rax\n  char v11; // [rsp-8h] [rbp-20h]\n\n  v11 = v1;\n  result = a1[73];\n  v3 = *(_DWORD *)(result + 376);\n  *(_DWORD *)(result + 376) = v3 + 1;\n  v4 = a1[72];\n  if ( v4 )\n  {\n    v5 = sub_10088E820(\"%i\", v11);\n    CString = cocos2d::CCString::getCString(v5);\n    (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 928LL))(v4, CString);\n    v7 = a1[71];\n    v8 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();\n    v9 = \"GJ_dislikesIcon_001.png\";\n    if ( v3 >= -1 )\n      v9 = \"GJ_likesIcon_001.png\";\n    v10 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v8, v9);\n    return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 1160LL))(v7, v10);\n  }\n  return result;\n}", "assembly": "; \n; CommentCell::incrementLikes from 0x10023e4a0 to 0x10023e547 (167 bytes)\n; \n; 0 xrefs:\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 12:27:17 +0000\n; \npush    rbp                                                            ; +0x0, 0x10023e4a0\nmov     rbp, rsp                                                       ; +0x1, 0x10023e4a1\npush    r15                                                            ; +0x4, 0x10023e4a4\npush    r14                                                            ; +0x6, 0x10023e4a6\npush    rbx                                                            ; +0x8, 0x10023e4a8\npush    rax; char                                                      ; +0x9, 0x10023e4a9\nmov     rax, [rdi+248h]                                                ; +0xa, 0x10023e4aa\nmov     r15d, [rax+178h]                                               ; +0x11, 0x10023e4b1\nlea     esi, [r15+1]                                                   ; +0x18, 0x10023e4b8\nmov     [rax+178h], esi                                                ; +0x1c, 0x10023e4bc\nmov     r14, [rdi+240h]                                                ; +0x22, 0x10023e4c2\ntest    r14, r14                                                       ; +0x29, 0x10023e4c9\njz      short loc_10023E53C                                            ; +0x2c, 0x10023e4cc\nmov     rbx, rdi                                                       ; +0x2e, 0x10023e4ce\nlea     rdi, aI_14; \"%i\"                                               ; +0x31, 0x10023e4d1\nxor     eax, eax                                                       ; +0x38, 0x10023e4d8\ncall    sub_10088E820                                                  ; +0x3a, 0x10023e4da\nmov     rdi, rax                                                       ; +0x3f, 0x10023e4df\ncall    cocos2d__CCString__getCString                                  ; +0x42, 0x10023e4e2\nmov     rcx, [r14]                                                     ; +0x47, 0x10023e4e7\nmov     rdi, r14                                                       ; +0x4a, 0x10023e4ea\nmov     rsi, rax                                                       ; +0x4d, 0x10023e4ed\ncall    qword ptr [rcx+3A0h]                                           ; +0x50, 0x10023e4f0\nmov     rbx, [rbx+238h]                                                ; +0x56, 0x10023e4f6\ncall    cocos2d__CCSpriteFrameCache__sharedSpriteFrameCache            ; +0x5d, 0x10023e4fd\ncmp     r15d, 0FFFFFFFFh                                               ; +0x62, 0x10023e502\nlea     rcx, aGjLikesicon001; \"GJ_likesIcon_001.png\"                   ; +0x66, 0x10023e506\nlea     rsi, aGjDislikesicon; \"GJ_dislikesIcon_001.png\"                ; +0x6d, 0x10023e50d\ncmovge  rsi, rcx                                                       ; +0x74, 0x10023e514\nmov     rdi, rax                                                       ; +0x78, 0x10023e518\ncall    cocos2d__CCSpriteFrameCache__spriteFrameByName                 ; +0x7b, 0x10023e51b\nmov     rcx, [rbx]                                                     ; +0x80, 0x10023e520\nmov     rcx, [rcx+488h]                                                ; +0x83, 0x10023e523\nmov     rdi, rbx                                                       ; +0x8a, 0x10023e52a\nmov     rsi, rax                                                       ; +0x8d, 0x10023e52d\nadd     rsp, 8                                                         ; +0x90, 0x10023e530\npop     rbx                                                            ; +0x94, 0x10023e534\npop     r14                                                            ; +0x95, 0x10023e535\npop     r15                                                            ; +0x97, 0x10023e537\npop     rbp                                                            ; +0x99, 0x10023e539\njmp     rcx                                                            ; +0x9a, 0x10023e53a\nadd     rsp, 8                                                         ; +0x9c, 0x10023e53c\npop     rbx                                                            ; +0xa0, 0x10023e540\npop     r14                                                            ; +0xa1, 0x10023e541\npop     r15                                                            ; +0xa3, 0x10023e543\npop     rbp                                                            ; +0xa5, 0x10023e545\nretn                                                                   ; +0xa6, 0x10023e546", "xrefs": [], "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"}