{"type": "func", "start": 16767992, "end": 16768032, "name": "BUF_MEM_new_ex", "pseudocode": "// \n// BUF_MEM_new_ex from 0xffdbf8 to 0xffdc20 (40 bytes)\n// \n// 3 xrefs:\n// > sub_FF7140 @ 0xff717c\n// > sub_FF76C8 @ 0xff7704\n// > <???> @ 0x4da40\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 13:15:52 +0000\n// \n\n__int64 __fastcall BUF_MEM_new_ex(__int64 a1)\n{\n  __int64 result; // x0\n\n  result = BUF_MEM_new();\n  if ( result )\n    *(_QWORD *)(result + 24) = a1;\n  return result;\n}", "assembly": "; \n; BUF_MEM_new_ex from 0xffdbf8 to 0xffdc20 (40 bytes)\n; \n; 3 xrefs:\n; > sub_FF7140 @ 0xff717c\n; > sub_FF76C8 @ 0xff7704\n; > <???> @ 0x4da40\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 13:15:52 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0xffdbf8\nMOV             X29, SP                                                ; +0x4, 0xffdbfc\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0xffdc00\nMOV             X19, X0                                                ; +0xc, 0xffdc04\nBL              BUF_MEM_new                                            ; +0x10, 0xffdc08\nCBZ             X0, loc_FFDC14                                         ; +0x14, 0xffdc0c\nSTR             X19, [X0,#0x18]                                        ; +0x18, 0xffdc10\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x1c, 0xffdc14\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x20, 0xffdc18\nRET                                                                    ; +0x24, 0xffdc1c", "xrefs": ["sub_FF7140 @ 0xff717c", "sub_FF76C8 @ 0xff7704", "<???> @ 0x4da40"], "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"}