{"type": "func", "start": 5370129344, "end": 5370129445, "name": "GJThreadCell::onToggleSelect", "pseudocode": "// \n// GJThreadCell::onToggleSelect from 0x14015abc0 to 0x14015ac25 (101 bytes)\n// \n// 2 xrefs:\n// > GJThreadCell::loadFromThread @ 0x14015a708\n// > <???> @ 0x140917aec\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:22 +0000\n// \n\nvoid __fastcall GJThreadCell::onToggleSelect(__int64 a1)\n{\n  __int64 v1; // rdx\n  cocos2d::CCNotificationCenter *v2; // rax\n\n  v1 = *(_QWORD *)(a1 + 560);\n  if ( v1 )\n  {\n    *(_BYTE *)(v1 + 360) = *(_BYTE *)(v1 + 360) == 0;\n    if ( *(_QWORD *)(a1 + 568) )\n      CCMenuItemToggler::toggle(*(_QWORD *)(a1 + 568), *(unsigned __int8 *)(*(_QWORD *)(a1 + 560) + 360LL));\n    v2 = (cocos2d::CCNotificationCenter *)cocos2d::CCNotificationCenter::sharedNotificationCenter(a1);\n    cocos2d::CCNotificationCenter::postNotification(v2, \"ThreadSelectionChangedNotification\", nullptr);\n  }\n}", "assembly": "; \n; GJThreadCell::onToggleSelect from 0x14015abc0 to 0x14015ac25 (101 bytes)\n; \n; 2 xrefs:\n; > GJThreadCell::loadFromThread @ 0x14015a708\n; > <???> @ 0x140917aec\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:22 +0000\n; \nsub     rsp, 28h                                                       ; +0x0, 0x14015abc0\nmov     rdx, [rcx+230h]                                                ; +0x4, 0x14015abc4\ntest    rdx, rdx                                                       ; +0xb, 0x14015abcb\njz      short loc_14015AC20                                            ; +0xe, 0x14015abce\ncmp     byte ptr [rdx+168h], 0                                         ; +0x10, 0x14015abd0\nsetz    al                                                             ; +0x17, 0x14015abd7\nmov     [rdx+168h], al                                                 ; +0x1a, 0x14015abda\nmov     rax, [rcx+238h]                                                ; +0x20, 0x14015abe0\ntest    rax, rax                                                       ; +0x27, 0x14015abe7\njz      short loc_14015AC02                                            ; +0x2a, 0x14015abea\nmov     rdx, [rcx+230h]                                                ; +0x2c, 0x14015abec\nmov     rcx, rax                                                       ; +0x33, 0x14015abf3\nmovzx   edx, byte ptr [rdx+168h]                                       ; +0x36, 0x14015abf6\ncall    CCMenuItemToggler__toggle                                      ; +0x3d, 0x14015abfd\ncall    cs:?sharedNotificationCenter@CCNotificationCenter@cocos2d@@SAPEAV12@XZ; cocos2d::CCNotificationCenter::sharedNotificationCenter(void) ; +0x42, 0x14015ac02\nxor     r8d, r8d                                                       ; +0x48, 0x14015ac08\nlea     rdx, aThreadselectio; \"ThreadSelectionChangedNotification\"     ; +0x4b, 0x14015ac0b\nmov     rcx, rax                                                       ; +0x52, 0x14015ac12\nadd     rsp, 28h                                                       ; +0x55, 0x14015ac15\njmp     cs:?postNotification@CCNotificationCenter@cocos2d@@QEAAXPEBDPEAVCCObject@2@@Z; cocos2d::CCNotificationCenter::postNotification(char const *,cocos2d::CCObject *) ; +0x59, 0x14015ac19\nadd     rsp, 28h                                                       ; +0x60, 0x14015ac20\nretn                                                                   ; +0x64, 0x14015ac24", "xrefs": ["GJThreadCell::loadFromThread @ 0x14015a708", "<???> @ 0x140917aec"], "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"}