{"type": "func", "start": 4297330576, "end": 4297330659, "name": "GJThreadCell::onToggleSelect", "pseudocode": "// \n// GJThreadCell::onToggleSelect from 0x100240f90 to 0x100240fe3 (83 bytes)\n// \n// 1 xrefs:\n// > GJThreadCell::loadFromThread @ 0x1002338e3\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\nvoid __fastcall GJThreadCell::onToggleSelect(__int64 a1)\n{\n  __int64 v1; // rcx\n  char v2; // al\n  __int64 v3; // rdi\n  __int64 v4; // rax\n\n  v1 = *(_QWORD *)(a1 + 552);\n  if ( v1 )\n  {\n    v2 = *(_BYTE *)(v1 + 304);\n    *(_BYTE *)(v1 + 304) = v2 ^ 1;\n    v3 = *(_QWORD *)(a1 + 560);\n    if ( v3 )\n      CCMenuItemToggler::toggle(v3, v2 == 0);\n    v4 = cocos2d::CCNotificationCenter::sharedNotificationCenter(v3);\n    cocos2d::CCNotificationCenter::postNotification(v4, \"ThreadSelectionChangedNotification\", 0);\n  }\n}", "assembly": "; \n; GJThreadCell::onToggleSelect from 0x100240f90 to 0x100240fe3 (83 bytes)\n; \n; 1 xrefs:\n; > GJThreadCell::loadFromThread @ 0x1002338e3\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     rcx, [rdi+228h]                                                ; +0x0, 0x100240f90\ntest    rcx, rcx                                                       ; +0x7, 0x100240f97\njz      short locret_100240FE2                                         ; +0xa, 0x100240f9a\npush    rbp                                                            ; +0xc, 0x100240f9c\nmov     rbp, rsp                                                       ; +0xd, 0x100240f9d\nmovzx   eax, byte ptr [rcx+130h]                                       ; +0x10, 0x100240fa0\nmov     edx, eax                                                       ; +0x17, 0x100240fa7\nxor     dl, 1                                                          ; +0x19, 0x100240fa9\nmov     [rcx+130h], dl                                                 ; +0x1c, 0x100240fac\nmov     rdi, [rdi+230h]                                                ; +0x22, 0x100240fb2\ntest    rdi, rdi                                                       ; +0x29, 0x100240fb9\njz      short loc_100240FCB                                            ; +0x2c, 0x100240fbc\nxor     esi, esi                                                       ; +0x2e, 0x100240fbe\ntest    al, al                                                         ; +0x30, 0x100240fc0\nsetz    sil                                                            ; +0x32, 0x100240fc2\ncall    CCMenuItemToggler__toggle                                      ; +0x36, 0x100240fc6\ncall    cocos2d__CCNotificationCenter__sharedNotificationCenter        ; +0x3b, 0x100240fcb\nlea     rsi, aThreadselectio; \"ThreadSelectionChangedNotification\"     ; +0x40, 0x100240fd0\nmov     rdi, rax                                                       ; +0x47, 0x100240fd7\nxor     edx, edx                                                       ; +0x4a, 0x100240fda\npop     rbp                                                            ; +0x4c, 0x100240fdc\njmp     cocos2d__CCNotificationCenter__postNotification                ; +0x4d, 0x100240fdd\nretn                                                                   ; +0x52, 0x100240fe2", "xrefs": ["GJThreadCell::loadFromThread @ 0x1002338e3"], "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"}