{"type": "func", "start": 5370122912, "end": 5370122974, "name": "GJRequestCell::onToggle", "pseudocode": "// \n// GJRequestCell::onToggle from 0x1401592a0 to 0x1401592de (62 bytes)\n// \n// 2 xrefs:\n// > GJRequestCell::loadFromScore @ 0x140158ff2\n// > <???> @ 0x140917a14\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:21 +0000\n// \n\nvoid __fastcall GJRequestCell::onToggle(__int64 a1)\n{\n  __int64 v1; // rdx\n  cocos2d::CCNotificationCenter *v2; // rax\n\n  v1 = *(_QWORD *)(a1 + 560);\n  if ( v1 )\n    *(_BYTE *)(v1 + 797) = *(_BYTE *)(v1 + 797) == 0;\n  v2 = (cocos2d::CCNotificationCenter *)cocos2d::CCNotificationCenter::sharedNotificationCenter(a1);\n  cocos2d::CCNotificationCenter::postNotification(v2, \"RequestSelectionChangedNotification\", nullptr);\n}", "assembly": "; \n; GJRequestCell::onToggle from 0x1401592a0 to 0x1401592de (62 bytes)\n; \n; 2 xrefs:\n; > GJRequestCell::loadFromScore @ 0x140158ff2\n; > <???> @ 0x140917a14\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:21 +0000\n; \nsub     rsp, 28h                                                       ; +0x0, 0x1401592a0\nmov     rdx, [rcx+230h]                                                ; +0x4, 0x1401592a4\ntest    rdx, rdx                                                       ; +0xb, 0x1401592ab\njz      short loc_1401592C0                                            ; +0xe, 0x1401592ae\ncmp     byte ptr [rdx+31Dh], 0                                         ; +0x10, 0x1401592b0\nsetz    al                                                             ; +0x17, 0x1401592b7\nmov     [rdx+31Dh], al                                                 ; +0x1a, 0x1401592ba\ncall    cs:?sharedNotificationCenter@CCNotificationCenter@cocos2d@@SAPEAV12@XZ; cocos2d::CCNotificationCenter::sharedNotificationCenter(void) ; +0x20, 0x1401592c0\nxor     r8d, r8d                                                       ; +0x26, 0x1401592c6\nlea     rdx, aRequestselecti; \"RequestSelectionChangedNotification\"    ; +0x29, 0x1401592c9\nmov     rcx, rax                                                       ; +0x30, 0x1401592d0\nadd     rsp, 28h                                                       ; +0x33, 0x1401592d3\njmp     cs:?postNotification@CCNotificationCenter@cocos2d@@QEAAXPEBDPEAVCCObject@2@@Z; cocos2d::CCNotificationCenter::postNotification(char const *,cocos2d::CCObject *) ; +0x37, 0x1401592d7", "xrefs": ["GJRequestCell::loadFromScore @ 0x140158ff2", "<???> @ 0x140917a14"], "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"}