{"type": "func", "start": 14222944, "end": 14222996, "name": "EC_KEY_key2buf", "pseudocode": "// \n// EC_KEY_key2buf from 0xd90660 to 0xd90694 (52 bytes)\n// \n// 6 xrefs:\n// > sub_D8B4C0 @ 0xd8b6c8\n// > sub_D8C8B0 @ 0xd8c908\n// > sub_D8CA44 @ 0xd8caa4\n// > EC_KEY_print @ 0xd8ccdc\n// > i2d_ECPrivateKey @ 0xd8e9a8\n// > <???> @ 0x374d0\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n__int64 __fastcall EC_KEY_key2buf(__int64 a1, unsigned int a2, __int64 a3, __int64 a4)\n{\n  __int64 v5; // x1\n  __int64 v6; // x0\n\n  if ( a1 && (v5 = *(_QWORD *)(a1 + 32)) != 0 && (v6 = *(_QWORD *)(a1 + 24)) != 0 )\n    return EC_POINT_point2buf(v6, v5, a2, a3, a4);\n  else\n    return 0;\n}", "assembly": "; \n; EC_KEY_key2buf from 0xd90660 to 0xd90694 (52 bytes)\n; \n; 6 xrefs:\n; > sub_D8B4C0 @ 0xd8b6c8\n; > sub_D8C8B0 @ 0xd8c908\n; > sub_D8CA44 @ 0xd8caa4\n; > EC_KEY_print @ 0xd8ccdc\n; > i2d_ECPrivateKey @ 0xd8e9a8\n; > <???> @ 0x374d0\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nMOV             W7, W1                                                 ; +0x0, 0xd90660\nMOV             X6, X2                                                 ; +0x4, 0xd90664\nMOV             X4, X3                                                 ; +0x8, 0xd90668\nCBZ             X0, loc_D9068C                                         ; +0xc, 0xd9066c\nLDR             X1, [X0,#0x20]                                         ; +0x10, 0xd90670\nCBZ             X1, loc_D9068C                                         ; +0x14, 0xd90674\nLDR             X0, [X0,#0x18]                                         ; +0x18, 0xd90678\nCBZ             X0, loc_D9068C                                         ; +0x1c, 0xd9067c\nMOV             W2, W7                                                 ; +0x20, 0xd90680\nMOV             X3, X6                                                 ; +0x24, 0xd90684\nB               EC_POINT_point2buf                                     ; +0x28, 0xd90688\nMOV             X0, #0                                                 ; +0x2c, 0xd9068c\nRET                                                                    ; +0x30, 0xd90690", "xrefs": ["sub_D8B4C0 @ 0xd8b6c8", "sub_D8C8B0 @ 0xd8c908", "sub_D8CA44 @ 0xd8caa4", "EC_KEY_print @ 0xd8ccdc", "i2d_ECPrivateKey @ 0xd8e9a8", "<???> @ 0x374d0"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}