{"type": "func", "start": 5370140448, "end": 5370140510, "name": "GJMessageCell::onToggle", "pseudocode": "// \n// GJMessageCell::onToggle from 0x14015d720 to 0x14015d75e (62 bytes)\n// \n// 2 xrefs:\n// > GJMessageCell::loadFromMessage @ 0x14015d19e\n// > <???> @ 0x140917bd0\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:23 +0000\n// \n\nvoid __fastcall GJMessageCell::onToggle(__int64 a1)\n{\n  __int64 v1; // rdx\n  cocos2d::CCNotificationCenter *v2; // rax\n\n  v1 = *(_QWORD *)(a1 + 584);\n  if ( v1 )\n    *(_BYTE *)(v1 + 466) = *(_BYTE *)(v1 + 466) == 0;\n  v2 = (cocos2d::CCNotificationCenter *)cocos2d::CCNotificationCenter::sharedNotificationCenter(a1);\n  cocos2d::CCNotificationCenter::postNotification(v2, \"MessageSelectionChangedNotification\", nullptr);\n}", "assembly": "; \n; GJMessageCell::onToggle from 0x14015d720 to 0x14015d75e (62 bytes)\n; \n; 2 xrefs:\n; > GJMessageCell::loadFromMessage @ 0x14015d19e\n; > <???> @ 0x140917bd0\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:23 +0000\n; \nsub     rsp, 28h                                                       ; +0x0, 0x14015d720\nmov     rdx, [rcx+248h]                                                ; +0x4, 0x14015d724\ntest    rdx, rdx                                                       ; +0xb, 0x14015d72b\njz      short loc_14015D740                                            ; +0xe, 0x14015d72e\ncmp     byte ptr [rdx+1D2h], 0                                         ; +0x10, 0x14015d730\nsetz    al                                                             ; +0x17, 0x14015d737\nmov     [rdx+1D2h], al                                                 ; +0x1a, 0x14015d73a\ncall    cs:?sharedNotificationCenter@CCNotificationCenter@cocos2d@@SAPEAV12@XZ; cocos2d::CCNotificationCenter::sharedNotificationCenter(void) ; +0x20, 0x14015d740\nxor     r8d, r8d                                                       ; +0x26, 0x14015d746\nlea     rdx, aMessageselecti; \"MessageSelectionChangedNotification\"    ; +0x29, 0x14015d749\nmov     rcx, rax                                                       ; +0x30, 0x14015d750\nadd     rsp, 28h                                                       ; +0x33, 0x14015d753\njmp     cs:?postNotification@CCNotificationCenter@cocos2d@@QEAAXPEBDPEAVCCObject@2@@Z; cocos2d::CCNotificationCenter::postNotification(char const *,cocos2d::CCObject *) ; +0x37, 0x14015d757", "xrefs": ["GJMessageCell::loadFromMessage @ 0x14015d19e", "<???> @ 0x140917bd0"], "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"}