{"type": "func", "start": 10483792, "end": 10483940, "name": "EC_POINT_set_Jprojective_coordinates_GFp", "pseudocode": "// \n// EC_POINT_set_Jprojective_coordinates_GFp from 0x9ff850 to 0x9ff8e4 (148 bytes)\n// \n// 2 xrefs:\n// > ec_GFp_simple_point_set_affine_coordinates @ 0xa08bec\n// > <???> @ 0x7b52c\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_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 0x9ff850 to 0x9ff8e4 (148 bytes)\n; \n; 2 xrefs:\n; > ec_GFp_simple_point_set_affine_coordinates @ 0xa08bec\n; > <???> @ 0x7b52c\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, 0x9ff850\nPUSH            {R4-R6,LR}                                             ; +0x4, 0x9ff854\nLDR             LR, [R12,#0x40]                                        ; +0x8, 0x9ff858\nSUB             SP, SP, #8                                             ; +0xc, 0x9ff85c\nCMP             LR, #0                                                 ; +0x10, 0x9ff860\nLDR             R6, [SP,#8+arg_0]                                      ; +0x14, 0x9ff864\nLDR             R5, [SP,#8+arg_4]                                      ; +0x18, 0x9ff868\nBEQ             loc_9FF8C0                                             ; +0x1c, 0x9ff86c\nLDR             R4, [R1]                                               ; +0x20, 0x9ff870\nCMP             R12, R4                                                ; +0x24, 0x9ff874\nBEQ             loc_9FF8A8                                             ; +0x28, 0x9ff878\nLDR             R3, =0x296                                             ; +0x2c, 0x9ff87c\nSTR             R3, [SP,#8+var_8]                                      ; +0x30, 0x9ff880\nLDR             R3, =(aCryptoEcEcLibC - 0x9FF89C); \"crypto/ec/ec_lib.c\" ; +0x34, 0x9ff884\nMOV             R0, #0x10                                              ; +0x38, 0x9ff888\nMOV             R1, #0x7E ; '~'                                        ; +0x3c, 0x9ff88c\nMOV             R2, #0x65 ; 'e'                                        ; +0x40, 0x9ff890\nADD             R3, PC, R3; \"crypto/ec/ec_lib.c\"                       ; +0x44, 0x9ff894\nBL              ERR_put_error                                          ; +0x48, 0x9ff898\nMOV             R0, #0                                                 ; +0x4c, 0x9ff89c\nADD             SP, SP, #8                                             ; +0x50, 0x9ff8a0\nPOP             {R4-R6,PC}                                             ; +0x54, 0x9ff8a4\nMOV             R12, LR                                                ; +0x58, 0x9ff8a8\nSTR             R6, [SP,#8+arg_0]                                      ; +0x5c, 0x9ff8ac\nSTR             R5, [SP,#8+arg_4]                                      ; +0x60, 0x9ff8b0\nADD             SP, SP, #8                                             ; +0x64, 0x9ff8b4\nPOP             {R4-R6,LR}                                             ; +0x68, 0x9ff8b8\nBX              R12                                                    ; +0x6c, 0x9ff8bc\nLDR             R3, =0x291                                             ; +0x70, 0x9ff8c0\nSTR             R3, [SP,#8+var_8]                                      ; +0x74, 0x9ff8c4\nLDR             R3, =(aCryptoEcEcLibC - 0x9FF8E0); \"crypto/ec/ec_lib.c\" ; +0x78, 0x9ff8c8\nMOV             R0, #0x10                                              ; +0x7c, 0x9ff8cc\nMOV             R1, #0x7E ; '~'                                        ; +0x80, 0x9ff8d0\nMOV             R2, #0x42 ; 'B'                                        ; +0x84, 0x9ff8d4\nADD             R3, PC, R3; \"crypto/ec/ec_lib.c\"                       ; +0x88, 0x9ff8d8\nBL              ERR_put_error                                          ; +0x8c, 0x9ff8dc\nB               loc_9FF89C                                             ; +0x90, 0x9ff8e0", "xrefs": ["ec_GFp_simple_point_set_affine_coordinates @ 0xa08bec", "<???> @ 0x7b52c"], "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"}