{"type": "func", "start": 5369007920, "end": 5369007973, "name": "CCMenuItemToggler::dCCMenuItemToggler", "pseudocode": "// \n// CCMenuItemToggler::dCCMenuItemToggler from 0x140048f30 to 0x140048f65 (53 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140709a08\n// > <???> @ 0x14090fbe4\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:25:32 +0000\n// \n\ncocos2d::CCMenuItem *__fastcall CCMenuItemToggler::dCCMenuItemToggler(cocos2d::CCMenuItem *Block, char a2)\n{\n  cocos2d::CCMenuItem::~CCMenuItem(Block);\n  if ( (a2 & 1) != 0 )\n    j_j_free(Block);\n  return Block;\n}", "assembly": "; \n; CCMenuItemToggler::dCCMenuItemToggler from 0x140048f30 to 0x140048f65 (53 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140709a08\n; > <???> @ 0x14090fbe4\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:25:32 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140048f30\npush    rdi                                                            ; +0x5, 0x140048f35\nsub     rsp, 20h                                                       ; +0x6, 0x140048f36\nmov     ebx, edx                                                       ; +0xa, 0x140048f3a\nmov     rdi, rcx                                                       ; +0xc, 0x140048f3c\ncall    cs:??1CCMenuItem@cocos2d@@UEAA@XZ; cocos2d::CCMenuItem::~CCMenuItem(void) ; +0xf, 0x140048f3f\ntest    bl, 1                                                          ; +0x15, 0x140048f45\njz      short loc_140048F57                                            ; +0x18, 0x140048f48\nmov     edx, 190h                                                      ; +0x1a, 0x140048f4a\nmov     rcx, rdi; Block                                                ; +0x1f, 0x140048f4f\ncall    j_j_free                                                       ; +0x22, 0x140048f52\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x27, 0x140048f57\nmov     rax, rdi                                                       ; +0x2c, 0x140048f5c\nadd     rsp, 20h                                                       ; +0x2f, 0x140048f5f\npop     rdi                                                            ; +0x33, 0x140048f63\nretn                                                                   ; +0x34, 0x140048f64", "xrefs": ["<???> @ 0x140709a08", "<???> @ 0x14090fbe4"], "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"}