{"type": "func", "start": 7560224, "end": 7560412, "name": "CommentCell::onMoreOptions", "pseudocode": "// \n// CommentCell::onMoreOptions from 0x735c20 to 0x735cdc (188 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x5ede0\n// > CommentCell::loadFromComment @ 0x74b8c8\n// > <???> @ 0x1542378\n// \n// This function is hookable on this platform (idp: arm, 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:52:39 +0000\n// \n\n__int64 __fastcall CommentCell::onMoreOptions(__int64 this, cocos2d::CCObject *a2)\n{\n  __int64 v2; // x1\n  __int64 v3; // x19\n  unsigned __int64 v4; // x0\n  int v5; // w20\n  __int64 v6; // x0\n  int v7; // w2\n  __int64 v8; // x0\n  int v9; // w1\n  GameManager *v10; // x0\n  __int64 v11; // x2\n  CommentOptionsPopup *v12; // x0\n  int v13; // w1\n  int v14; // w3\n  _BOOL8 v15; // x1\n\n  v2 = *(_QWORD *)(this + 584);\n  if ( v2 )\n  {\n    v3 = this;\n    v4 = *(unsigned __int8 *)(this + 592);\n    if ( (_DWORD)v4\n      && (v5 = *(_DWORD *)(v2 + 388),\n          v6 = GJAccountManager::sharedState((GJAccountManager *)v4),\n          v4 = (unsigned int)(*(_DWORD *)(v6 + 352) - *(_DWORD *)(v6 + 356)),\n          v5 == (_DWORD)v4) )\n    {\n      v12 = *(CommentOptionsPopup **)(v3 + 584);\n    }\n    else\n    {\n      v8 = GameManager::sharedState((GameManager *)v4);\n      v9 = *(_DWORD *)(v8 + 660);\n      v10 = (GameManager *)*(unsigned int *)(v8 + 664);\n      if ( v9 - (int)v10 <= 0 )\n      {\n        v12 = *(CommentOptionsPopup **)(v3 + 584);\n        goto LABEL_6;\n      }\n      v11 = GameManager::sharedState(v10);\n      v12 = *(CommentOptionsPopup **)(v3 + 584);\n      v13 = *(_DWORD *)(v11 + 660);\n      v14 = *(_DWORD *)(v11 + 664);\n      v7 = *((_DWORD *)v12 + 93);\n      if ( v7 != v13 - v14 )\n      {\nLABEL_6:\n        v15 = (unsigned int)(*((_DWORD *)v12 + 109) - 4) > 1;\n        goto LABEL_7;\n      }\n    }\n    v15 = 0;\nLABEL_7:\n    this = CommentOptionsPopup::create(v12, (GJComment *)v15, v7);\n    if ( this )\n      return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)this + 1312LL))(this);\n  }\n  return this;\n}", "assembly": "; \n; CommentCell::onMoreOptions from 0x735c20 to 0x735cdc (188 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x5ede0\n; > CommentCell::loadFromComment @ 0x74b8c8\n; > <???> @ 0x1542378\n; \n; This function is hookable on this platform (idp: arm, 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:52:39 +0000\n; \nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x735c20\nMOV             X29, SP                                                ; +0x4, 0x735c24\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x735c28\nLDR             X1, [X0,#0x248]                                        ; +0xc, 0x735c2c\nCBZ             X1, loc_735CBC                                         ; +0x10, 0x735c30\nMOV             X19, X0                                                ; +0x14, 0x735c34\nLDRB            W0, [X0,#0x250]; this                                  ; +0x18, 0x735c38\nCBZ             W0, loc_735C5C                                         ; +0x1c, 0x735c3c\nLDR             W20, [X1,#0x184]                                       ; +0x20, 0x735c40\nBL              _ZN16GJAccountManager11sharedStateEv; GJAccountManager::sharedState(void) ; +0x24, 0x735c44\nLDR             W1, [X0,#0x160]                                        ; +0x28, 0x735c48\nLDR             W0, [X0,#0x164]                                        ; +0x2c, 0x735c4c\nSUB             W0, W1, W0; this                                       ; +0x30, 0x735c50\nCMP             W20, W0                                                ; +0x34, 0x735c54\nB.EQ            loc_735CD0                                             ; +0x38, 0x735c58\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x3c, 0x735c5c\nLDR             W1, [X0,#0x294]                                        ; +0x40, 0x735c60\nLDR             W0, [X0,#0x298]; this                                  ; +0x44, 0x735c64\nSUB             W1, W1, W0                                             ; +0x48, 0x735c68\nCMP             W1, WZR                                                ; +0x4c, 0x735c6c\nB.LE            loc_735CC8                                             ; +0x50, 0x735c70\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x54, 0x735c74\nMOV             X2, X0                                                 ; +0x58, 0x735c78\nLDR             X0, [X19,#0x248]; this                                 ; +0x5c, 0x735c7c\nLDR             W1, [X2,#0x294]                                        ; +0x60, 0x735c80\nLDR             W3, [X2,#0x298]                                        ; +0x64, 0x735c84\nLDR             W2, [X0,#0x174]; bool                                  ; +0x68, 0x735c88\nSUB             W1, W1, W3                                             ; +0x6c, 0x735c8c\nCMP             W2, W1                                                 ; +0x70, 0x735c90\nB.EQ            loc_735CD4                                             ; +0x74, 0x735c94\nLDR             W1, [X0,#0x1B4]                                        ; +0x78, 0x735c98\nSUB             W1, W1, #4                                             ; +0x7c, 0x735c9c\nCMP             W1, #1                                                 ; +0x80, 0x735ca0\nCSET            W1, HI; GJComment *                                    ; +0x84, 0x735ca4\nBL              _ZN19CommentOptionsPopup6createEP9GJCommentb; CommentOptionsPopup::create(GJComment *,bool) ; +0x88, 0x735ca8\nCBZ             X0, loc_735CBC                                         ; +0x8c, 0x735cac\nLDR             X1, [X0]                                               ; +0x90, 0x735cb0\nLDR             X1, [X1,#0x520]                                        ; +0x94, 0x735cb4\nBLR             X1                                                     ; +0x98, 0x735cb8\nLDP             X19, X20, [SP,#var_s10]                                ; +0x9c, 0x735cbc\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0xa0, 0x735cc0\nRET                                                                    ; +0xa4, 0x735cc4\nLDR             X0, [X19,#0x248]                                       ; +0xa8, 0x735cc8\nB               loc_735C98                                             ; +0xac, 0x735ccc\nLDR             X0, [X19,#0x248]                                       ; +0xb0, 0x735cd0\nMOV             W1, #0                                                 ; +0xb4, 0x735cd4\nB               loc_735CA8                                             ; +0xb8, 0x735cd8", "xrefs": ["<???> @ 0x5ede0", "CommentCell::loadFromComment @ 0x74b8c8", "<???> @ 0x1542378"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}