{"type": "func", "start": 4297335936, "end": 4297335982, "name": "GJMessageCell::onToggle", "pseudocode": "// \n// GJMessageCell::onToggle from 0x100242480 to 0x1002424ae (46 bytes)\n// \n// 1 xrefs:\n// > GJMessageCell::loadFromMessage @ 0x10023280b\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 12:27:18 +0000\n// \n\n__int64 __fastcall GJMessageCell::onToggle(__int64 a1)\n{\n  __int64 v1; // rax\n  __int64 v2; // rax\n\n  v1 = *(_QWORD *)(a1 + 576);\n  if ( v1 )\n    *(_BYTE *)(v1 + 426) ^= 1u;\n  v2 = cocos2d::CCNotificationCenter::sharedNotificationCenter(a1);\n  return cocos2d::CCNotificationCenter::postNotification(v2, \"MessageSelectionChangedNotification\", 0);\n}", "assembly": "; \n; GJMessageCell::onToggle from 0x100242480 to 0x1002424ae (46 bytes)\n; \n; 1 xrefs:\n; > GJMessageCell::loadFromMessage @ 0x10023280b\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 12:27:18 +0000\n; \nmov     rax, [rdi+240h]                                                ; +0x0, 0x100242480\ntest    rax, rax                                                       ; +0x7, 0x100242487\njz      short loc_100242493                                            ; +0xa, 0x10024248a\nxor     byte ptr [rax+1AAh], 1                                         ; +0xc, 0x10024248c\npush    rbp                                                            ; +0x13, 0x100242493\nmov     rbp, rsp                                                       ; +0x14, 0x100242494\ncall    cocos2d__CCNotificationCenter__sharedNotificationCenter        ; +0x17, 0x100242497\nlea     rsi, aMessageselecti; \"MessageSelectionChangedNotification\"    ; +0x1c, 0x10024249c\nmov     rdi, rax                                                       ; +0x23, 0x1002424a3\nxor     edx, edx                                                       ; +0x26, 0x1002424a6\npop     rbp                                                            ; +0x28, 0x1002424a8\njmp     cocos2d__CCNotificationCenter__postNotification                ; +0x29, 0x1002424a9", "xrefs": ["GJMessageCell::loadFromMessage @ 0x10023280b"], "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"}