{"type": "func", "start": 4349996, "end": 4350094, "name": "CommentCell::updateLabelValues", "pseudocode": "// \n// CommentCell::updateLabelValues from 0x42602c to 0x42608e (98 bytes)\n// \n// 2 xrefs:\n// > CommentCell::incrementLikes @ 0x4260aa\n// > CommentCell::incrementDislikes @ 0x4260bc\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:48:04 +0000\n// \n\nint __fastcall CommentCell::updateLabelValues(int this)\n{\n  int v1; // r4\n  int v2; // r5\n  const char *v3; // r6\n  int (__fastcall *v4)(int, int); // r7\n  cocos2d::CCString *v5; // r0\n  int CString; // r0\n  cocos2d::CCSpriteFrameCache *v7; // r0\n  int v8; // r4\n  int (__fastcall *v9)(int, int); // r5\n  cocos2d::CCSpriteFrameCache *v10; // r0\n  const char *v11; // r1\n  int v12; // r0\n\n  v1 = this;\n  v2 = *(_DWORD *)(this + 432);\n  if ( v2 )\n  {\n    v3 = *(const char **)(*(_DWORD *)(this + 436) + 296);\n    v4 = *(int (__fastcall **)(int, int))(*(_DWORD *)v2 + 464);\n    v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)\"%i\", v3);\n    CString = cocos2d::CCString::getCString(v5);\n    v7 = (cocos2d::CCSpriteFrameCache *)v4(v2, CString);\n    v8 = *(_DWORD *)(v1 + 428);\n    v9 = *(int (__fastcall **)(int, int))(*(_DWORD *)v8 + 580);\n    v10 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v7);\n    if ( (int)v3 < 0 )\n      v11 = \"GJ_dislikesIcon_001.png\";\n    else\n      v11 = \"GJ_likesIcon_001.png\";\n    v12 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v10, v11);\n    return v9(v8, v12);\n  }\n  return this;\n}", "assembly": "; \n; CommentCell::updateLabelValues from 0x42602c to 0x42608e (98 bytes)\n; \n; 2 xrefs:\n; > CommentCell::incrementLikes @ 0x4260aa\n; > CommentCell::incrementDislikes @ 0x4260bc\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:48:04 +0000\n; \nPUSH.W          {R4-R8,LR}                                             ; +0x0, 0x42602c\nMOV             R4, R0                                                 ; +0x4, 0x426030\nLDR.W           R5, [R0,#0x1B0]                                        ; +0x6, 0x426032\nCBZ             R5, locret_42608A                                      ; +0xa, 0x426036\nLDR.W           R3, [R0,#0x1B4]                                        ; +0xc, 0x426038\nLDR             R0, =(aI - 0x426046); \"%i\"                             ; +0x10, 0x42603c\nLDR.W           R6, [R3,#0x128]                                        ; +0x12, 0x42603e\nADD             R0, PC; \"%i\"                                           ; +0x16, 0x426042\nLDR             R3, [R5]                                               ; +0x18, 0x426044\nMOV             R1, R6; char *                                         ; +0x1a, 0x426046\nLDR.W           R7, [R3,#0x1D0]                                        ; +0x1c, 0x426048\nBL              _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x20, 0x42604c\nBL              _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x24, 0x426050\nMOV             R1, R0                                                 ; +0x28, 0x426054\nMOV             R0, R5                                                 ; +0x2a, 0x426056\nBLX             R7                                                     ; +0x2c, 0x426058\nLDR.W           R4, [R4,#0x1AC]                                        ; +0x2e, 0x42605a\nCMP             R6, #0                                                 ; +0x32, 0x42605e\nLDR             R3, [R4]                                               ; +0x34, 0x426060\nLDR.W           R5, [R3,#0x244]                                        ; +0x36, 0x426062\nBLT             loc_426072                                             ; +0x3a, 0x426066\nBL              _ZN7cocos2d18CCSpriteFrameCache22sharedSpriteFrameCacheEv; cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(void) ; +0x3c, 0x426068\nLDR             R1, =(aGjLikesicon001 - 0x426072); \"GJ_likesIcon_001.png\" ; +0x40, 0x42606c\nADD             R1, PC; \"GJ_likesIcon_001.png\"                         ; +0x42, 0x42606e\nB               loc_42607A                                             ; +0x44, 0x426070\nBL              _ZN7cocos2d18CCSpriteFrameCache22sharedSpriteFrameCacheEv; cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(void) ; +0x46, 0x426072\nLDR             R1, =(aGjDislikesicon - 0x42607C); \"GJ_dislikesIcon_001.png\" ; +0x4a, 0x426076\nADD             R1, PC; \"GJ_dislikesIcon_001.png\"                      ; +0x4c, 0x426078\nBL              _ZN7cocos2d18CCSpriteFrameCache17spriteFrameByNameEPKc; cocos2d::CCSpriteFrameCache::spriteFrameByName(char const*) ; +0x4e, 0x42607a\nMOV             R3, R5                                                 ; +0x52, 0x42607e\nMOV             R1, R0                                                 ; +0x54, 0x426080\nMOV             R0, R4                                                 ; +0x56, 0x426082\nPOP.W           {R4-R8,LR}                                             ; +0x58, 0x426084\nBX              R3                                                     ; +0x5c, 0x426088\nPOP.W           {R4-R8,PC}                                             ; +0x5e, 0x42608a", "xrefs": ["CommentCell::incrementLikes @ 0x4260aa", "CommentCell::incrementDislikes @ 0x4260bc"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}