{"type": "func", "start": 4296710620, "end": 4296710692, "name": "CreateMenuItem::dCreateMenuItem", "pseudocode": "// \n// CreateMenuItem::dCreateMenuItem from 0x1001a99dc to 0x1001a9a24 (72 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008e5a48\n// \n// This function is hookable on this platform (idp: arm, 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:00:05 +0000\n// \n\n__int64 __fastcall CreateMenuItem::dCreateMenuItem(__int64 a1)\n{\n  *(_QWORD *)a1 = off_1008E5A40;\n  *(_QWORD *)(a1 + 320) = off_1008E5EB8;\n  if ( *(char *)(a1 + 527) < 0 )\n    operator delete(*(void **)(a1 + 504));\n  return sub_1002B076C(a1);\n}", "assembly": "; \n; CreateMenuItem::dCreateMenuItem from 0x1001a99dc to 0x1001a9a24 (72 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008e5a48\n; \n; This function is hookable on this platform (idp: arm, 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:00:05 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1001a99dc\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1001a99e0\nADD             X29, SP, #0x10                                         ; +0x8, 0x1001a99e4\nMOV             X19, X0                                                ; +0xc, 0x1001a99e8\nADRL            X8, unk_1008E5A30                                      ; +0x10, 0x1001a99ec\nADD             X9, X8, #(off_1008E5A40 - 0x1008E5A30)                 ; +0x18, 0x1001a99f4\nSTR             X9, [X0]                                               ; +0x1c, 0x1001a99f8\nADD             X8, X8, #(off_1008E5EB8 - 0x1008E5A30)                 ; +0x20, 0x1001a99fc\nSTR             X8, [X0,#0x140]                                        ; +0x24, 0x1001a9a00\nLDRSB           W8, [X0,#0x20F]                                        ; +0x28, 0x1001a9a04\nTBZ             W8, #0x1F, loc_1001A9A14                               ; +0x2c, 0x1001a9a08\nLDR             X0, [X19,#0x1F8]; __p                                  ; +0x30, 0x1001a9a0c\nBL              __ZdlPv; operator delete(void *)                       ; +0x34, 0x1001a9a10\nMOV             X0, X19                                                ; +0x38, 0x1001a9a14\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x3c, 0x1001a9a18\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x40, 0x1001a9a1c\nB               sub_1002B076C                                          ; +0x44, 0x1001a9a20", "xrefs": ["<???> @ 0x1008e5a48"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}