; ; BN_reciprocal from 0x8712d8 to 0x871354 (124 bytes) ; ; 2 xrefs: ; > BN_div_recp @ 0x871420 ; > @ 0x69e2c ; ; 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-R8,LR} ; +0x0, 0x8712d8 MOV R4, R3 ; +0x4, 0x8712dc SUB SP, SP, #8 ; +0x8, 0x8712e0 MOV R8, R0 ; +0xc, 0x8712e4 MOV R0, R3 ; +0x10, 0x8712e8 MOV R6, R1 ; +0x14, 0x8712ec MOV R5, R2 ; +0x18, 0x8712f0 BL BN_CTX_start ; +0x1c, 0x8712f4 MOV R0, R4 ; +0x20, 0x8712f8 BL BN_CTX_get ; +0x24, 0x8712fc SUBS R7, R0, #0 ; +0x28, 0x871300 BEQ loc_87134C ; +0x2c, 0x871304 MOV R1, R5 ; +0x30, 0x871308 BL BN_set_bit ; +0x34, 0x87130c CMP R0, #0 ; +0x38, 0x871310 BEQ loc_87134C ; +0x3c, 0x871314 STR R4, [SP,#8+var_8] ; +0x40, 0x871318 MOV R0, R8 ; +0x44, 0x87131c MOV R2, R7 ; +0x48, 0x871320 MOV R3, R6 ; +0x4c, 0x871324 MOV R1, #0 ; +0x50, 0x871328 BL BN_div ; +0x54, 0x87132c CMP R0, #0 ; +0x58, 0x871330 BEQ loc_87134C ; +0x5c, 0x871334 MOV R0, R4 ; +0x60, 0x871338 BL BN_CTX_end ; +0x64, 0x87133c MOV R0, R5 ; +0x68, 0x871340 ADD SP, SP, #8 ; +0x6c, 0x871344 POP {R4-R8,PC} ; +0x70, 0x871348 MOV R5, #0xFFFFFFFF ; +0x74, 0x87134c B loc_871338 ; +0x78, 0x871350