{"type": "func", "start": 10484272, "end": 10484412, "name": "EC_POINT_get_affine_coordinates_GF2m", "pseudocode": "// \n// EC_POINT_get_affine_coordinates_GF2m from 0x9ffa30 to 0x9ffabc (140 bytes)\n// \n// 12 xrefs:\n// > EC_KEY_set_public_key_affine_coordinates @ 0x9fe188\n// > ecdh_simple_compute_key @ 0xa022f4\n// > ossl_ecdsa_sign_setup @ 0xa028ac\n// > ossl_ecdsa_sign_sig @ 0xa030f4\n// > ossl_ecdsa_verify_sig @ 0xa03afc\n// > ec_GF2m_simple_point2oct @ 0xa9de0c\n// > ec_GF2m_simple_cmp @ 0xa9ec1c\n// > ec_GF2m_simple_cmp @ 0xa9ec9c\n// > ec_GF2m_simple_make_affine @ 0xa9ed88\n// > ec_GF2m_simple_add @ 0xa9f074\n// > ec_GF2m_simple_add @ 0xa9f338\n// > <???> @ 0x7b21c\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:37 +0000\n// \n\nint __fastcall EC_POINT_get_affine_coordinates_GF2m(int a1, _DWORD *a2)\n{\n  if ( !*(_DWORD *)(*(_DWORD *)a1 + 76) )\n  {\n    ERR_put_error(16, 183, 66, \"crypto/ec/ec_lib.c\", 764);\n    return 0;\n  }\n  if ( *(_DWORD *)a1 != *a2 )\n  {\n    ERR_put_error(16, 183, 101, \"crypto/ec/ec_lib.c\", 769);\n    return 0;\n  }\n  return (*(int (__fastcall **)(int))(*(_DWORD *)a1 + 76))(a1);\n}", "assembly": "; \n; EC_POINT_get_affine_coordinates_GF2m from 0x9ffa30 to 0x9ffabc (140 bytes)\n; \n; 12 xrefs:\n; > EC_KEY_set_public_key_affine_coordinates @ 0x9fe188\n; > ecdh_simple_compute_key @ 0xa022f4\n; > ossl_ecdsa_sign_setup @ 0xa028ac\n; > ossl_ecdsa_sign_sig @ 0xa030f4\n; > ossl_ecdsa_verify_sig @ 0xa03afc\n; > ec_GF2m_simple_point2oct @ 0xa9de0c\n; > ec_GF2m_simple_cmp @ 0xa9ec1c\n; > ec_GF2m_simple_cmp @ 0xa9ec9c\n; > ec_GF2m_simple_make_affine @ 0xa9ed88\n; > ec_GF2m_simple_add @ 0xa9f074\n; > ec_GF2m_simple_add @ 0xa9f338\n; > <???> @ 0x7b21c\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:37 +0000\n; \nLDR             R12, [R0]                                              ; +0x0, 0x9ffa30\nPUSH            {R4,R5,LR}                                             ; +0x4, 0x9ffa34\nLDR             LR, [R12,#0x4C]                                        ; +0x8, 0x9ffa38\nSUB             SP, SP, #0xC                                           ; +0xc, 0x9ffa3c\nCMP             LR, #0                                                 ; +0x10, 0x9ffa40\nLDR             R5, [SP,#0xC+arg_0]                                    ; +0x14, 0x9ffa44\nBEQ             loc_9FFA98                                             ; +0x18, 0x9ffa48\nLDR             R4, [R1]                                               ; +0x1c, 0x9ffa4c\nCMP             R12, R4                                                ; +0x20, 0x9ffa50\nBEQ             loc_9FFA84                                             ; +0x24, 0x9ffa54\nLDR             R3, =0x301                                             ; +0x28, 0x9ffa58\nSTR             R3, [SP,#0xC+var_C]                                    ; +0x2c, 0x9ffa5c\nLDR             R3, =(aCryptoEcEcLibC - 0x9FFA78); \"crypto/ec/ec_lib.c\" ; +0x30, 0x9ffa60\nMOV             R0, #0x10                                              ; +0x34, 0x9ffa64\nMOV             R1, #0xB7                                              ; +0x38, 0x9ffa68\nMOV             R2, #0x65 ; 'e'                                        ; +0x3c, 0x9ffa6c\nADD             R3, PC, R3; \"crypto/ec/ec_lib.c\"                       ; +0x40, 0x9ffa70\nBL              ERR_put_error                                          ; +0x44, 0x9ffa74\nMOV             R0, #0                                                 ; +0x48, 0x9ffa78\nADD             SP, SP, #0xC                                           ; +0x4c, 0x9ffa7c\nPOP             {R4,R5,PC}                                             ; +0x50, 0x9ffa80\nMOV             R12, LR                                                ; +0x54, 0x9ffa84\nSTR             R5, [SP,#0xC+arg_0]                                    ; +0x58, 0x9ffa88\nADD             SP, SP, #0xC                                           ; +0x5c, 0x9ffa8c\nPOP             {R4,R5,LR}                                             ; +0x60, 0x9ffa90\nBX              R12                                                    ; +0x64, 0x9ffa94\nMOV             R3, #0x2FC                                             ; +0x68, 0x9ffa98\nSTR             R3, [SP,#0xC+var_C]                                    ; +0x6c, 0x9ffa9c\nLDR             R3, =(aCryptoEcEcLibC - 0x9FFAB8); \"crypto/ec/ec_lib.c\" ; +0x70, 0x9ffaa0\nMOV             R0, #0x10                                              ; +0x74, 0x9ffaa4\nMOV             R1, #0xB7                                              ; +0x78, 0x9ffaa8\nMOV             R2, #0x42 ; 'B'                                        ; +0x7c, 0x9ffaac\nADD             R3, PC, R3; \"crypto/ec/ec_lib.c\"                       ; +0x80, 0x9ffab0\nBL              ERR_put_error                                          ; +0x84, 0x9ffab4\nB               loc_9FFA78                                             ; +0x88, 0x9ffab8", "xrefs": ["EC_KEY_set_public_key_affine_coordinates @ 0x9fe188", "ecdh_simple_compute_key @ 0xa022f4", "ossl_ecdsa_sign_setup @ 0xa028ac", "ossl_ecdsa_sign_sig @ 0xa030f4", "ossl_ecdsa_verify_sig @ 0xa03afc", "ec_GF2m_simple_point2oct @ 0xa9de0c", "ec_GF2m_simple_cmp @ 0xa9ec1c", "ec_GF2m_simple_cmp @ 0xa9ec9c", "ec_GF2m_simple_make_affine @ 0xa9ed88", "ec_GF2m_simple_add @ 0xa9f074", "ec_GF2m_simple_add @ 0xa9f338", "<???> @ 0x7b21c"], "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"}