{"type": "func", "start": 5370103888, "end": 5370103993, "name": "CommentCell::onBulkSelectToggle", "pseudocode": "// \n// CommentCell::onBulkSelectToggle from 0x140154850 to 0x1401548b9 (105 bytes)\n// \n// 2 xrefs:\n// > CommentCell::loadFromComment @ 0x14015446c\n// > <???> @ 0x1409178a0\n// \n// This function is hookable on this platform (idp: pc, 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 11:27:19 +0000\n// \n\nvoid __fastcall CommentCell::onBulkSelectToggle(struct cocos2d::CCObject *a1)\n{\n  __int64 v2; // rcx\n  __int64 v3; // rcx\n  cocos2d::CCNotificationCenter *v4; // rax\n\n  v2 = *((_QWORD *)a1 + 74);\n  if ( v2 )\n  {\n    *(_BYTE *)(v2 + 464) = *(_BYTE *)(v2 + 464) == 0;\n    v3 = *((_QWORD *)a1 + 76);\n    if ( v3 )\n      CCMenuItemToggler::toggle(v3, *(unsigned __int8 *)(*((_QWORD *)a1 + 74) + 464LL));\n    v4 = (cocos2d::CCNotificationCenter *)cocos2d::CCNotificationCenter::sharedNotificationCenter(v3);\n    cocos2d::CCNotificationCenter::postNotification(v4, \"CommentCellToggleNotification\", a1);\n  }\n}", "assembly": "; \n; CommentCell::onBulkSelectToggle from 0x140154850 to 0x1401548b9 (105 bytes)\n; \n; 2 xrefs:\n; > CommentCell::loadFromComment @ 0x14015446c\n; > <???> @ 0x1409178a0\n; \n; This function is hookable on this platform (idp: pc, 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 11:27:19 +0000\n; \npush    rbx                                                            ; +0x0, 0x140154850\nsub     rsp, 20h                                                       ; +0x2, 0x140154852\nmov     rbx, rcx                                                       ; +0x6, 0x140154856\nmov     rcx, [rcx+250h]                                                ; +0x9, 0x140154859\ntest    rcx, rcx                                                       ; +0x10, 0x140154860\njz      short loc_1401548B3                                            ; +0x13, 0x140154863\ncmp     byte ptr [rcx+1D0h], 0                                         ; +0x15, 0x140154865\nsetz    al                                                             ; +0x1c, 0x14015486c\nmov     [rcx+1D0h], al                                                 ; +0x1f, 0x14015486f\nmov     rcx, [rbx+260h]                                                ; +0x25, 0x140154875\ntest    rcx, rcx                                                       ; +0x2c, 0x14015487c\njz      short loc_140154894                                            ; +0x2f, 0x14015487f\nmov     rdx, [rbx+250h]                                                ; +0x31, 0x140154881\nmovzx   edx, byte ptr [rdx+1D0h]                                       ; +0x38, 0x140154888\ncall    CCMenuItemToggler__toggle                                      ; +0x3f, 0x14015488f\ncall    cs:?sharedNotificationCenter@CCNotificationCenter@cocos2d@@SAPEAV12@XZ; cocos2d::CCNotificationCenter::sharedNotificationCenter(void) ; +0x44, 0x140154894\nmov     r8, rbx                                                        ; +0x4a, 0x14015489a\nlea     rdx, aCommentcelltog; \"CommentCellToggleNotification\"          ; +0x4d, 0x14015489d\nmov     rcx, rax                                                       ; +0x54, 0x1401548a4\nadd     rsp, 20h                                                       ; +0x57, 0x1401548a7\npop     rbx                                                            ; +0x5b, 0x1401548ab\njmp     cs:?postNotification@CCNotificationCenter@cocos2d@@QEAAXPEBDPEAVCCObject@2@@Z; cocos2d::CCNotificationCenter::postNotification(char const *,cocos2d::CCObject *) ; +0x5c, 0x1401548ac\nadd     rsp, 20h                                                       ; +0x63, 0x1401548b3\npop     rbx                                                            ; +0x67, 0x1401548b7\nretn                                                                   ; +0x68, 0x1401548b8", "xrefs": ["CommentCell::loadFromComment @ 0x14015446c", "<???> @ 0x1409178a0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}