{"type": "func", "start": 4343316, "end": 4343450, "name": "CommentCell::onMoreOptions", "pseudocode": "// \n// CommentCell::onMoreOptions from 0x424614 to 0x42469a (134 bytes)\n// \n// 0 xrefs:\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:03 +0000\n// \n\nint __fastcall CommentCell::onMoreOptions(int this, cocos2d::CCObject *a2)\n{\n  int v2; // r4\n  int v3; // r3\n  GameManager *v4; // r0\n  int v5; // r2\n  int v6; // r5\n  int v7; // r0\n  GJComment *v8; // r1\n\n  v2 = this;\n  v3 = *(_DWORD *)(this + 436);\n  if ( v3 )\n  {\n    if ( *(_BYTE *)(this + 440)\n      && (v6 = *(_DWORD *)(v3 + 308),\n          this = GJAccountManager::sharedState((GJAccountManager *)this),\n          v5 = *(_DWORD *)(this + 284),\n          v6 == *(_DWORD *)(this + 280) - v5)\n      || (v4 = (GameManager *)GameManager::sharedState((GameManager *)this),\n          v5 = *((_DWORD *)v4 + 117),\n          *((_DWORD *)v4 + 116) - v5 > 0)\n      && (v7 = GameManager::sharedState(v4),\n          v5 = *(_DWORD *)(*(_DWORD *)(v2 + 436) + 292),\n          *(_DWORD *)(v7 + 464) - *(_DWORD *)(v7 + 468) == v5) )\n    {\n      v8 = nullptr;\n    }\n    else if ( (unsigned int)(*(_DWORD *)(*(_DWORD *)(v2 + 436) + 344) - 4) > 1 )\n    {\n      v8 = (GJComment *)((char *)&dword_0 + 1);\n    }\n    else\n    {\n      v8 = nullptr;\n    }\n    this = CommentOptionsPopup::create(*(CommentOptionsPopup **)(v2 + 436), v8, v5);\n    if ( this )\n      return (*(int (__fastcall **)(int))(*(_DWORD *)this + 656))(this);\n  }\n  return this;\n}", "assembly": "; \n; CommentCell::onMoreOptions from 0x424614 to 0x42469a (134 bytes)\n; \n; 0 xrefs:\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:03 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x424614\nMOV             R4, R0                                                 ; +0x2, 0x424616\nLDR.W           R3, [R0,#0x1B4]                                        ; +0x4, 0x424618\nCMP             R3, #0                                                 ; +0x8, 0x42461c\nBEQ             locret_424698                                          ; +0xa, 0x42461e\nLDRB.W          R2, [R0,#0x1B8]                                        ; +0xc, 0x424620\nCBNZ            R2, loc_42463A                                         ; +0x10, 0x424624\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x12, 0x424626\nLDR.W           R3, [R0,#0x1D0]                                        ; +0x16, 0x42462a\nLDR.W           R2, [R0,#0x1D4]                                        ; +0x1a, 0x42462e\nSUBS            R3, R3, R2                                             ; +0x1e, 0x424632\nCMP             R3, #0                                                 ; +0x20, 0x424634\nBGT             loc_424652                                             ; +0x22, 0x424636\nB               loc_42466C                                             ; +0x24, 0x424638\nLDR.W           R5, [R3,#0x134]                                        ; +0x26, 0x42463a\nBL              _ZN16GJAccountManager11sharedStateEv; GJAccountManager::sharedState(void) ; +0x2a, 0x42463e\nLDR.W           R3, [R0,#0x118]                                        ; +0x2e, 0x424642\nLDR.W           R2, [R0,#0x11C]                                        ; +0x32, 0x424646\nSUBS            R3, R3, R2                                             ; +0x36, 0x42464a\nCMP             R5, R3                                                 ; +0x38, 0x42464c\nBNE             loc_424626                                             ; +0x3a, 0x42464e\nB               loc_424694                                             ; +0x3c, 0x424650\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x3e, 0x424652\nLDR.W           R2, [R0,#0x1D4]                                        ; +0x42, 0x424656\nLDR.W           R3, [R0,#0x1D0]                                        ; +0x46, 0x42465a\nSUBS            R3, R3, R2                                             ; +0x4a, 0x42465e\nLDR.W           R2, [R4,#0x1B4]                                        ; +0x4c, 0x424660\nLDR.W           R2, [R2,#0x124]; bool                                  ; +0x50, 0x424664\nCMP             R3, R2                                                 ; +0x54, 0x424668\nBEQ             loc_424694                                             ; +0x56, 0x42466a\nLDR.W           R3, [R4,#0x1B4]                                        ; +0x58, 0x42466c\nLDR.W           R1, [R3,#0x158]                                        ; +0x5c, 0x424670\nSUBS            R1, #4                                                 ; +0x60, 0x424674\nCMP             R1, #1                                                 ; +0x62, 0x424676\nITE LS                                                                 ; +0x64, 0x424678\nMOVLS           R1, #0                                                 ; +0x66, 0x42467a\nMOVHI           R1, #(dword_0+1); GJComment *                          ; +0x68, 0x42467c\nLDR.W           R0, [R4,#0x1B4]; this                                  ; +0x6a, 0x42467e\nBL              _ZN19CommentOptionsPopup6createEP9GJCommentb; CommentOptionsPopup::create(GJComment *,bool) ; +0x6e, 0x424682\nCBZ             R0, locret_424698                                      ; +0x72, 0x424686\nLDR             R3, [R0]                                               ; +0x74, 0x424688\nPOP.W           {R4-R6,LR}                                             ; +0x76, 0x42468a\nLDR.W           R3, [R3,#0x290]                                        ; +0x7a, 0x42468e\nBX              R3                                                     ; +0x7e, 0x424692\nMOVS            R1, #0                                                 ; +0x80, 0x424694\nB               loc_42467E                                             ; +0x82, 0x424696\nPOP             {R4-R6,PC}                                             ; +0x84, 0x424698", "xrefs": [], "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"}