; ; BN_mod_sub_quick from 0x870310 to 0x870350 (64 bytes) ; ; 12 xrefs: ; > ec_GFp_simple_set_compressed_coordinates @ 0x7f2518 ; > ec_GFp_simple_dbl @ 0x7f3b1c ; > ec_GFp_simple_dbl @ 0x7f3b70 ; > ec_GFp_simple_dbl @ 0x7f3bb0 ; > ec_GFp_simple_dbl @ 0x7f3c80 ; > ec_GFp_simple_add @ 0x7f4444 ; > ec_GFp_simple_add @ 0x7f4460 ; > ec_GFp_simple_add @ 0x7f4730 ; > ec_GFp_simple_add @ 0x7f4764 ; > ec_GFp_simple_add @ 0x7f47ec ; > ec_GFp_simple_is_on_curve @ 0x7f4ae4 ; > @ 0x620dc ; ; 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 {R3-R5,LR} ; +0x0, 0x870310 MOV R5, R3 ; +0x4, 0x870314 MOV R4, R0 ; +0x8, 0x870318 BL BN_sub ; +0xc, 0x87031c CMP R0, #0 ; +0x10, 0x870320 POPEQ {R3-R5,PC} ; +0x14, 0x870324 LDR R3, [R4,#0xC] ; +0x18, 0x870328 CMP R3, #0 ; +0x1c, 0x87032c BNE loc_87033C ; +0x20, 0x870330 MOV R0, #1 ; +0x24, 0x870334 POP {R3-R5,PC} ; +0x28, 0x870338 MOV R2, R5 ; +0x2c, 0x87033c MOV R0, R4 ; +0x30, 0x870340 MOV R1, R4 ; +0x34, 0x870344 POP {R3-R5,LR} ; +0x38, 0x870348 B BN_add ; +0x3c, 0x87034c