{"type": "func", "start": 10481860, "end": 10481944, "name": "EC_GROUP_get_degree", "pseudocode": "// \n// EC_GROUP_get_degree from 0x9ff0c4 to 0x9ff118 (84 bytes)\n// \n// 7 xrefs:\n// > EC_GROUP_get_ecparameters @ 0x9fa9a0\n// > ecdh_simple_compute_key @ 0xa02304\n// > ec_GF2m_simple_point2oct @ 0xa9dd7c\n// > ec_GF2m_simple_oct2point @ 0xa9e12c\n// > sub_A9FDF4 @ 0xa9fe64\n// > sub_A9FDF4 @ 0xaa0008\n// > <???> @ 0x7ae2c\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_GROUP_get_degree(int a1)\n{\n  if ( *(_DWORD *)(*(_DWORD *)a1 + 32) )\n    return (*(int (__fastcall **)(int))(*(_DWORD *)a1 + 32))(a1);\n  ERR_put_error(16, 173, 66, \"crypto/ec/ec_lib.c\", 455);\n  return 0;\n}", "assembly": "; \n; EC_GROUP_get_degree from 0x9ff0c4 to 0x9ff118 (84 bytes)\n; \n; 7 xrefs:\n; > EC_GROUP_get_ecparameters @ 0x9fa9a0\n; > ecdh_simple_compute_key @ 0xa02304\n; > ec_GF2m_simple_point2oct @ 0xa9dd7c\n; > ec_GF2m_simple_oct2point @ 0xa9e12c\n; > sub_A9FDF4 @ 0xa9fe64\n; > sub_A9FDF4 @ 0xaa0008\n; > <???> @ 0x7ae2c\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             R3, [R0]                                               ; +0x0, 0x9ff0c4\nPUSH            {R4,LR}                                                ; +0x4, 0x9ff0c8\nLDR             R4, [R3,#0x20]                                         ; +0x8, 0x9ff0cc\nSUB             SP, SP, #8                                             ; +0xc, 0x9ff0d0\nCMP             R4, #0                                                 ; +0x10, 0x9ff0d4\nBEQ             loc_9FF0EC                                             ; +0x14, 0x9ff0d8\nMOV             R3, R4                                                 ; +0x18, 0x9ff0dc\nADD             SP, SP, #8                                             ; +0x1c, 0x9ff0e0\nPOP             {R4,LR}                                                ; +0x20, 0x9ff0e4\nBX              R3                                                     ; +0x24, 0x9ff0e8\nLDR             R3, =0x1C7                                             ; +0x28, 0x9ff0ec\nSTR             R3, [SP,#8+var_8]                                      ; +0x2c, 0x9ff0f0\nLDR             R3, =(aCryptoEcEcLibC - 0x9FF10C); \"crypto/ec/ec_lib.c\" ; +0x30, 0x9ff0f4\nMOV             R0, #0x10                                              ; +0x34, 0x9ff0f8\nMOV             R1, #0xAD                                              ; +0x38, 0x9ff0fc\nMOV             R2, #0x42 ; 'B'                                        ; +0x3c, 0x9ff100\nADD             R3, PC, R3; \"crypto/ec/ec_lib.c\"                       ; +0x40, 0x9ff104\nBL              ERR_put_error                                          ; +0x44, 0x9ff108\nMOV             R0, R4                                                 ; +0x48, 0x9ff10c\nADD             SP, SP, #8                                             ; +0x4c, 0x9ff110\nPOP             {R4,PC}                                                ; +0x50, 0x9ff114", "xrefs": ["EC_GROUP_get_ecparameters @ 0x9fa9a0", "ecdh_simple_compute_key @ 0xa02304", "ec_GF2m_simple_point2oct @ 0xa9dd7c", "ec_GF2m_simple_oct2point @ 0xa9e12c", "sub_A9FDF4 @ 0xa9fe64", "sub_A9FDF4 @ 0xaa0008", "<???> @ 0x7ae2c"], "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"}