; ; BN_mod_sqr from 0xa84fe0 to 0xa85024 (68 bytes) ; ; 11 xrefs: ; > ec_GFp_simple_set_compressed_coordinates @ 0xa06ef4 ; > ec_GFp_simple_field_sqr @ 0xa07d70 ; > ec_GFp_simple_group_check_discriminant @ 0xa07f10 ; > ec_GFp_simple_group_check_discriminant @ 0xa07f64 ; > ec_GFp_simple_point_get_affine_coordinates @ 0xa082c4 ; > BN_mod_sqrt @ 0xa86544 ; > BN_mod_sqrt @ 0xa865e8 ; > BN_mod_sqrt @ 0xa86868 ; > BN_mod_sqrt @ 0xa868dc ; > BN_mod_sqrt @ 0xa86990 ; > @ 0x7bb1c ; ; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 12:08:51 +0000 ; PUSH {R4-R6,LR} ; +0x0, 0xa84fe0 MOV R6, R2 ; +0x4, 0xa84fe4 SUB SP, SP, #8 ; +0x8, 0xa84fe8 MOV R2, R3 ; +0xc, 0xa84fec MOV R4, R3 ; +0x10, 0xa84ff0 MOV R5, R0 ; +0x14, 0xa84ff4 BL BN_sqr ; +0x18, 0xa84ff8 CMP R0, #0 ; +0x1c, 0xa84ffc BEQ loc_A8501C ; +0x20, 0xa85000 STR R4, [SP,#8+var_8] ; +0x24, 0xa85004 MOV R3, R6 ; +0x28, 0xa85008 MOV R0, #0 ; +0x2c, 0xa8500c MOV R1, R5 ; +0x30, 0xa85010 MOV R2, R5 ; +0x34, 0xa85014 BL BN_div ; +0x38, 0xa85018 ADD SP, SP, #8 ; +0x3c, 0xa8501c POP {R4-R6,PC} ; +0x40, 0xa85020