{"type": "func", "start": 4301297424, "end": 4301297502, "name": "CreateMenuItem::dCreateMenuItem", "pseudocode": "// \n// CreateMenuItem::dCreateMenuItem from 0x100609710 to 0x10060975e (78 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100b7f7b8\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:34:32 +0000\n// \n\n__int64 __fastcall CreateMenuItem::dCreateMenuItem(__int64 a1)\n{\n  *(_QWORD *)a1 = off_100B7F7B0;\n  *(_QWORD *)(a1 + 320) = off_100B7FC28;\n  if ( (*(_BYTE *)(a1 + 504) & 1) != 0 )\n    operator delete(*(void **)(a1 + 520));\n  return sub_1002638B0(a1);\n}", "assembly": "; \n; CreateMenuItem::dCreateMenuItem from 0x100609710 to 0x10060975e (78 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100b7f7b8\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:34:32 +0000\n; \nlea     rax, _ZTV14CreateMenuItem; `vtable for'CreateMenuItem          ; +0x0, 0x100609710\nlea     rcx, [rax+10h]                                                 ; +0x7, 0x100609717\nmov     [rdi], rcx                                                     ; +0xb, 0x10060971b\nadd     rax, 488h                                                      ; +0xe, 0x10060971e\nmov     [rdi+140h], rax                                                ; +0x14, 0x100609724\ntest    byte ptr [rdi+1F8h], 1                                         ; +0x1b, 0x10060972b\njz      sub_1002638B0                                                  ; +0x22, 0x100609732\npush    rbp                                                            ; +0x28, 0x100609738\nmov     rbp, rsp                                                       ; +0x29, 0x100609739\npush    rbx                                                            ; +0x2c, 0x10060973c\npush    rax                                                            ; +0x2d, 0x10060973d\nmov     rax, [rdi+208h]                                                ; +0x2e, 0x10060973e\nmov     rbx, rdi                                                       ; +0x35, 0x100609745\nmov     rdi, rax; __p                                                  ; +0x38, 0x100609748\ncall    __ZdlPv; operator delete(void *)                               ; +0x3b, 0x10060974b\nmov     rdi, rbx                                                       ; +0x40, 0x100609750\nadd     rsp, 8                                                         ; +0x43, 0x100609753\npop     rbx                                                            ; +0x47, 0x100609757\npop     rbp                                                            ; +0x48, 0x100609758\njmp     sub_1002638B0                                                  ; +0x49, 0x100609759", "xrefs": ["<???> @ 0x100b7f7b8"], "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"}