{"type": "func", "start": 8301972, "end": 8302112, "name": "EC_POINT_get_affine_coordinates_GFp", "pseudocode": "// \n// EC_POINT_get_affine_coordinates_GFp from 0x7ead94 to 0x7eae20 (140 bytes)\n// \n// 8 xrefs:\n// > EC_KEY_set_public_key_affine_coordinates @ 0x7e95ac\n// > ecdh_simple_compute_key @ 0x7ed928\n// > ossl_ecdsa_sign_setup @ 0x7edd58\n// > ossl_ecdsa_sign_sig @ 0x7ee61c\n// > ossl_ecdsa_verify_sig @ 0x7eef4c\n// > ec_GFp_simple_point2oct @ 0x7f27cc\n// > ec_GFp_simple_make_affine @ 0x7f4c54\n// > <???> @ 0x617ac\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\nint __fastcall EC_POINT_get_affine_coordinates_GFp(int a1, _DWORD *a2)\n{\n  if ( !*(_DWORD *)(*(_DWORD *)a1 + 76) )\n  {\n    ERR_put_error(16, 116, 66, \"crypto/ec/ec_lib.c\", 746);\n    return 0;\n  }\n  if ( *(_DWORD *)a1 != *a2 )\n  {\n    ERR_put_error(16, 116, 101, \"crypto/ec/ec_lib.c\", 751);\n    return 0;\n  }\n  return (*(int (__fastcall **)(int))(*(_DWORD *)a1 + 76))(a1);\n}", "assembly": "; \n; EC_POINT_get_affine_coordinates_GFp from 0x7ead94 to 0x7eae20 (140 bytes)\n; \n; 8 xrefs:\n; > EC_KEY_set_public_key_affine_coordinates @ 0x7e95ac\n; > ecdh_simple_compute_key @ 0x7ed928\n; > ossl_ecdsa_sign_setup @ 0x7edd58\n; > ossl_ecdsa_sign_sig @ 0x7ee61c\n; > ossl_ecdsa_verify_sig @ 0x7eef4c\n; > ec_GFp_simple_point2oct @ 0x7f27cc\n; > ec_GFp_simple_make_affine @ 0x7f4c54\n; > <???> @ 0x617ac\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\nLDR             R12, [R0]                                              ; +0x0, 0x7ead94\nPUSH            {R4,R5,LR}                                             ; +0x4, 0x7ead98\nLDR             LR, [R12,#0x4C]                                        ; +0x8, 0x7ead9c\nSUB             SP, SP, #0xC                                           ; +0xc, 0x7eada0\nCMP             LR, #0                                                 ; +0x10, 0x7eada4\nLDR             R5, [SP,#0xC+arg_0]                                    ; +0x14, 0x7eada8\nBEQ             loc_7EADFC                                             ; +0x18, 0x7eadac\nLDR             R4, [R1]                                               ; +0x1c, 0x7eadb0\nCMP             R12, R4                                                ; +0x20, 0x7eadb4\nBEQ             loc_7EADE8                                             ; +0x24, 0x7eadb8\nLDR             R3, =0x2EF                                             ; +0x28, 0x7eadbc\nSTR             R3, [SP,#0xC+var_C]                                    ; +0x2c, 0x7eadc0\nLDR             R3, =(aCryptoEcEcLibC - 0x7EADDC); \"crypto/ec/ec_lib.c\" ; +0x30, 0x7eadc4\nMOV             R0, #0x10                                              ; +0x34, 0x7eadc8\nMOV             R1, #0x74 ; 't'                                        ; +0x38, 0x7eadcc\nMOV             R2, #0x65 ; 'e'                                        ; +0x3c, 0x7eadd0\nADD             R3, PC, R3; \"crypto/ec/ec_lib.c\"                       ; +0x40, 0x7eadd4\nBL              ERR_put_error                                          ; +0x44, 0x7eadd8\nMOV             R0, #0                                                 ; +0x48, 0x7eaddc\nADD             SP, SP, #0xC                                           ; +0x4c, 0x7eade0\nPOP             {R4,R5,PC}                                             ; +0x50, 0x7eade4\nMOV             R12, LR                                                ; +0x54, 0x7eade8\nSTR             R5, [SP,#0xC+arg_0]                                    ; +0x58, 0x7eadec\nADD             SP, SP, #0xC                                           ; +0x5c, 0x7eadf0\nPOP             {R4,R5,LR}                                             ; +0x60, 0x7eadf4\nBX              R12                                                    ; +0x64, 0x7eadf8\nLDR             R3, =0x2EA                                             ; +0x68, 0x7eadfc\nSTR             R3, [SP,#0xC+var_C]                                    ; +0x6c, 0x7eae00\nLDR             R3, =(aCryptoEcEcLibC - 0x7EAE1C); \"crypto/ec/ec_lib.c\" ; +0x70, 0x7eae04\nMOV             R0, #0x10                                              ; +0x74, 0x7eae08\nMOV             R1, #0x74 ; 't'                                        ; +0x78, 0x7eae0c\nMOV             R2, #0x42 ; 'B'                                        ; +0x7c, 0x7eae10\nADD             R3, PC, R3; \"crypto/ec/ec_lib.c\"                       ; +0x80, 0x7eae14\nBL              ERR_put_error                                          ; +0x84, 0x7eae18\nB               loc_7EADDC                                             ; +0x88, 0x7eae1c", "xrefs": ["EC_KEY_set_public_key_affine_coordinates @ 0x7e95ac", "ecdh_simple_compute_key @ 0x7ed928", "ossl_ecdsa_sign_setup @ 0x7edd58", "ossl_ecdsa_sign_sig @ 0x7ee61c", "ossl_ecdsa_verify_sig @ 0x7eef4c", "ec_GFp_simple_point2oct @ 0x7f27cc", "ec_GFp_simple_make_affine @ 0x7f4c54", "<???> @ 0x617ac"], "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"}