// // CommentCell::likedItem from 0x10023e3b0 to 0x10023e49b (235 bytes) // // 2 xrefs: // > sub_10023E600 @ 0x10023e60c // > @ 0x100aeb398 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:27:17 +0000 // __int64 __fastcall CommentCell::likedItem(_QWORD *a1, __int64 a2, int a3, char a4) { __int64 result; // rax int v5; // r14d __int64 v6; // rbx int v7; // r15d __int64 v8; // rax __int64 CString; // rax __int64 v10; // rbx __int64 v11; // rax const char *v12; // rsi __int64 v13; // rax char v14; // [rsp+0h] [rbp-20h] result = a1[73]; if ( result && *(_DWORD *)(result + 368) == a3 ) { v5 = *(_DWORD *)(result + 376); if ( a4 ) { *(_DWORD *)(result + 376) = v5 + 1; v6 = a1[72]; v7 = -2; if ( !v6 ) return result; } else { *(_DWORD *)(result + 376) = v5 - 1; v6 = a1[72]; v7 = 0; if ( !v6 ) return result; } v8 = sub_10088E820("%i", v14); CString = cocos2d::CCString::getCString(v8); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 928LL))(v6, CString); v10 = a1[71]; v11 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v12 = "GJ_dislikesIcon_001.png"; if ( v5 > v7 ) v12 = "GJ_likesIcon_001.png"; v13 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v11, v12); return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v10 + 1160LL))(v10, v13); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source