{"type": "func", "start": 10477580, "end": 10477660, "name": "EC_KEY_set_public_key", "pseudocode": "// \n// EC_KEY_set_public_key from 0x9fe00c to 0x9fe05c (80 bytes)\n// \n// 2 xrefs:\n// > EC_KEY_set_public_key_affine_coordinates @ 0x9fe23c\n// > <???> @ 0x7b1dc\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:07:36 +0000\n// \n\nint __fastcall EC_KEY_set_public_key(_DWORD *a1, int a2)\n{\n  int (*v3)(void); // r3\n  int result; // r0\n  int v6; // r0\n\n  v3 = *(int (**)(void))(*a1 + 28);\n  if ( !v3 || (result = v3()) != 0 )\n  {\n    EC_POINT_free(a1[4]);\n    v6 = EC_POINT_dup(a2, a1[3]);\n    a1[4] = v6;\n    return v6 != 0;\n  }\n  return result;\n}", "assembly": "; \n; EC_KEY_set_public_key from 0x9fe00c to 0x9fe05c (80 bytes)\n; \n; 2 xrefs:\n; > EC_KEY_set_public_key_affine_coordinates @ 0x9fe23c\n; > <???> @ 0x7b1dc\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:07:36 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x9fe00c\nLDR             R3, [R0]                                               ; +0x4, 0x9fe010\nMOV             R4, R0                                                 ; +0x8, 0x9fe014\nLDR             R3, [R3,#0x1C]                                         ; +0xc, 0x9fe018\nMOV             R5, R1                                                 ; +0x10, 0x9fe01c\nCMP             R3, #0                                                 ; +0x14, 0x9fe020\nBEQ             loc_9FE034                                             ; +0x18, 0x9fe024\nBLX             R3                                                     ; +0x1c, 0x9fe028\nCMP             R0, #0                                                 ; +0x20, 0x9fe02c\nBEQ             locret_9FE058                                          ; +0x24, 0x9fe030\nLDR             R0, [R4,#0x10]                                         ; +0x28, 0x9fe034\nBL              EC_POINT_free                                          ; +0x2c, 0x9fe038\nMOV             R0, R5                                                 ; +0x30, 0x9fe03c\nLDR             R1, [R4,#0xC]                                          ; +0x34, 0x9fe040\nBL              EC_POINT_dup                                           ; +0x38, 0x9fe044\nSTR             R0, [R4,#0x10]                                         ; +0x3c, 0x9fe048\nMOVS            R0, R0                                                 ; +0x40, 0x9fe04c\nMOVNE           R0, #1                                                 ; +0x44, 0x9fe050\nPOP             {R3-R5,PC}                                             ; +0x48, 0x9fe054\nPOP             {R3-R5,PC}                                             ; +0x4c, 0x9fe058", "xrefs": ["EC_KEY_set_public_key_affine_coordinates @ 0x9fe23c", "<???> @ 0x7b1dc"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}