{"type": "func", "start": 10481676, "end": 10481760, "name": "EC_GROUP_set_curve_GF2m", "pseudocode": "// \n// EC_GROUP_set_curve_GF2m from 0x9ff00c to 0x9ff060 (84 bytes)\n// \n// 2 xrefs:\n// > EC_GROUP_new_curve_GF2m @ 0x9fd528\n// > <???> @ 0x7b0cc\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_set_curve_GF2m(int a1)\n{\n  if ( *(_DWORD *)(*(_DWORD *)a1 + 24) )\n    return (*(int (__fastcall **)(int))(*(_DWORD *)a1 + 24))(a1);\n  ERR_put_error(16, 176, 66, \"crypto/ec/ec_lib.c\", 434);\n  return 0;\n}", "assembly": "; \n; EC_GROUP_set_curve_GF2m from 0x9ff00c to 0x9ff060 (84 bytes)\n; \n; 2 xrefs:\n; > EC_GROUP_new_curve_GF2m @ 0x9fd528\n; > <???> @ 0x7b0cc\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, 0x9ff00c\nPUSH            {R4,LR}                                                ; +0x4, 0x9ff010\nLDR             R4, [R12,#0x18]                                        ; +0x8, 0x9ff014\nSUB             SP, SP, #8                                             ; +0xc, 0x9ff018\nCMP             R4, #0                                                 ; +0x10, 0x9ff01c\nBEQ             loc_9FF034                                             ; +0x14, 0x9ff020\nMOV             R12, R4                                                ; +0x18, 0x9ff024\nADD             SP, SP, #8                                             ; +0x1c, 0x9ff028\nPOP             {R4,LR}                                                ; +0x20, 0x9ff02c\nBX              R12                                                    ; +0x24, 0x9ff030\nLDR             R3, =0x1B2                                             ; +0x28, 0x9ff034\nSTR             R3, [SP,#8+var_8]                                      ; +0x2c, 0x9ff038\nLDR             R3, =(aCryptoEcEcLibC - 0x9FF054); \"crypto/ec/ec_lib.c\" ; +0x30, 0x9ff03c\nMOV             R0, #0x10                                              ; +0x34, 0x9ff040\nMOV             R1, #0xB0                                              ; +0x38, 0x9ff044\nMOV             R2, #0x42 ; 'B'                                        ; +0x3c, 0x9ff048\nADD             R3, PC, R3; \"crypto/ec/ec_lib.c\"                       ; +0x40, 0x9ff04c\nBL              ERR_put_error                                          ; +0x44, 0x9ff050\nMOV             R0, R4                                                 ; +0x48, 0x9ff054\nADD             SP, SP, #8                                             ; +0x4c, 0x9ff058\nPOP             {R4,PC}                                                ; +0x50, 0x9ff05c", "xrefs": ["EC_GROUP_new_curve_GF2m @ 0x9fd528", "<???> @ 0x7b0cc"], "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"}