; ; BN_mod_sqr from 0x8703e0 to 0x870424 (68 bytes) ; ; 11 xrefs: ; > ec_GFp_simple_set_compressed_coordinates @ 0x7f22f4 ; > ec_GFp_simple_field_sqr @ 0x7f3170 ; > ec_GFp_simple_group_check_discriminant @ 0x7f3310 ; > ec_GFp_simple_group_check_discriminant @ 0x7f3364 ; > ec_GFp_simple_point_get_affine_coordinates @ 0x7f36c4 ; > BN_mod_sqrt @ 0x871944 ; > BN_mod_sqrt @ 0x8719e8 ; > BN_mod_sqrt @ 0x871c68 ; > BN_mod_sqrt @ 0x871cdc ; > BN_mod_sqrt @ 0x871d90 ; > @ 0x6209c ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; PUSH {R4-R6,LR} ; +0x0, 0x8703e0 MOV R6, R2 ; +0x4, 0x8703e4 SUB SP, SP, #8 ; +0x8, 0x8703e8 MOV R2, R3 ; +0xc, 0x8703ec MOV R4, R3 ; +0x10, 0x8703f0 MOV R5, R0 ; +0x14, 0x8703f4 BL BN_sqr ; +0x18, 0x8703f8 CMP R0, #0 ; +0x1c, 0x8703fc BEQ loc_87041C ; +0x20, 0x870400 STR R4, [SP,#8+var_8] ; +0x24, 0x870404 MOV R3, R6 ; +0x28, 0x870408 MOV R0, #0 ; +0x2c, 0x87040c MOV R1, R5 ; +0x30, 0x870410 MOV R2, R5 ; +0x34, 0x870414 BL BN_div ; +0x38, 0x870418 ADD SP, SP, #8 ; +0x3c, 0x87041c POP {R4-R6,PC} ; +0x40, 0x870420