// // CommentCell::updateLabelValues from 0x42602c to 0x42608e (98 bytes) // // 2 xrefs: // > CommentCell::incrementLikes @ 0x4260aa // > CommentCell::incrementDislikes @ 0x4260bc // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:48:04 +0000 // int __fastcall CommentCell::updateLabelValues(int this) { int v1; // r4 int v2; // r5 const char *v3; // r6 int (__fastcall *v4)(int, int); // r7 cocos2d::CCString *v5; // r0 int CString; // r0 cocos2d::CCSpriteFrameCache *v7; // r0 int v8; // r4 int (__fastcall *v9)(int, int); // r5 cocos2d::CCSpriteFrameCache *v10; // r0 const char *v11; // r1 int v12; // r0 v1 = this; v2 = *(_DWORD *)(this + 432); if ( v2 ) { v3 = *(const char **)(*(_DWORD *)(this + 436) + 296); v4 = *(int (__fastcall **)(int, int))(*(_DWORD *)v2 + 464); v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", v3); CString = cocos2d::CCString::getCString(v5); v7 = (cocos2d::CCSpriteFrameCache *)v4(v2, CString); v8 = *(_DWORD *)(v1 + 428); v9 = *(int (__fastcall **)(int, int))(*(_DWORD *)v8 + 580); v10 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v7); if ( (int)v3 < 0 ) v11 = "GJ_dislikesIcon_001.png"; else v11 = "GJ_likesIcon_001.png"; v12 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v10, v11); return v9(v8, v12); } return this; }