{"type": "func", "start": 8301648, "end": 8301796, "name": "EC_POINT_set_Jprojective_coordinates_GFp", "pseudocode": "// \n// EC_POINT_set_Jprojective_coordinates_GFp from 0x7eac50 to 0x7eace4 (148 bytes)\n// \n// 2 xrefs:\n// > ec_GFp_simple_point_set_affine_coordinates @ 0x7f3fec\n// > <???> @ 0x61aac\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_set_Jprojective_coordinates_GFp(int a1, _DWORD *a2)\n{\n  if ( !*(_DWORD *)(*(_DWORD *)a1 + 64) )\n  {\n    ERR_put_error(16, 126, 66, \"crypto/ec/ec_lib.c\", 657);\n    return 0;\n  }\n  if ( *(_DWORD *)a1 != *a2 )\n  {\n    ERR_put_error(16, 126, 101, \"crypto/ec/ec_lib.c\", 662);\n    return 0;\n  }\n  return (*(int (__fastcall **)(int))(*(_DWORD *)a1 + 64))(a1);\n}", "assembly": "; \n; EC_POINT_set_Jprojective_coordinates_GFp from 0x7eac50 to 0x7eace4 (148 bytes)\n; \n; 2 xrefs:\n; > ec_GFp_simple_point_set_affine_coordinates @ 0x7f3fec\n; > <???> @ 0x61aac\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, 0x7eac50\nPUSH            {R4-R6,LR}                                             ; +0x4, 0x7eac54\nLDR             LR, [R12,#0x40]                                        ; +0x8, 0x7eac58\nSUB             SP, SP, #8                                             ; +0xc, 0x7eac5c\nCMP             LR, #0                                                 ; +0x10, 0x7eac60\nLDR             R6, [SP,#8+arg_0]                                      ; +0x14, 0x7eac64\nLDR             R5, [SP,#8+arg_4]                                      ; +0x18, 0x7eac68\nBEQ             loc_7EACC0                                             ; +0x1c, 0x7eac6c\nLDR             R4, [R1]                                               ; +0x20, 0x7eac70\nCMP             R12, R4                                                ; +0x24, 0x7eac74\nBEQ             loc_7EACA8                                             ; +0x28, 0x7eac78\nLDR             R3, =0x296                                             ; +0x2c, 0x7eac7c\nSTR             R3, [SP,#8+var_8]                                      ; +0x30, 0x7eac80\nLDR             R3, =(aCryptoEcEcLibC - 0x7EAC9C); \"crypto/ec/ec_lib.c\" ; +0x34, 0x7eac84\nMOV             R0, #0x10                                              ; +0x38, 0x7eac88\nMOV             R1, #0x7E ; '~'                                        ; +0x3c, 0x7eac8c\nMOV             R2, #0x65 ; 'e'                                        ; +0x40, 0x7eac90\nADD             R3, PC, R3; \"crypto/ec/ec_lib.c\"                       ; +0x44, 0x7eac94\nBL              ERR_put_error                                          ; +0x48, 0x7eac98\nMOV             R0, #0                                                 ; +0x4c, 0x7eac9c\nADD             SP, SP, #8                                             ; +0x50, 0x7eaca0\nPOP             {R4-R6,PC}                                             ; +0x54, 0x7eaca4\nMOV             R12, LR                                                ; +0x58, 0x7eaca8\nSTR             R6, [SP,#8+arg_0]                                      ; +0x5c, 0x7eacac\nSTR             R5, [SP,#8+arg_4]                                      ; +0x60, 0x7eacb0\nADD             SP, SP, #8                                             ; +0x64, 0x7eacb4\nPOP             {R4-R6,LR}                                             ; +0x68, 0x7eacb8\nBX              R12                                                    ; +0x6c, 0x7eacbc\nLDR             R3, =0x291                                             ; +0x70, 0x7eacc0\nSTR             R3, [SP,#8+var_8]                                      ; +0x74, 0x7eacc4\nLDR             R3, =(aCryptoEcEcLibC - 0x7EACE0); \"crypto/ec/ec_lib.c\" ; +0x78, 0x7eacc8\nMOV             R0, #0x10                                              ; +0x7c, 0x7eaccc\nMOV             R1, #0x7E ; '~'                                        ; +0x80, 0x7eacd0\nMOV             R2, #0x42 ; 'B'                                        ; +0x84, 0x7eacd4\nADD             R3, PC, R3; \"crypto/ec/ec_lib.c\"                       ; +0x88, 0x7eacd8\nBL              ERR_put_error                                          ; +0x8c, 0x7eacdc\nB               loc_7EAC9C                                             ; +0x90, 0x7eace0", "xrefs": ["ec_GFp_simple_point_set_affine_coordinates @ 0x7f3fec", "<???> @ 0x61aac"], "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"}