; ; BN_GF2m_mod_inv_arr from 0x8ca790 to 0x8ca800 (112 bytes) ; ; 1 xrefs: ; > @ 0x6ba7c ; ; 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, 0x8ca790 MOV R4, R3 ; +0x4, 0x8ca794 MOV R8, R0 ; +0x8, 0x8ca798 MOV R0, R3 ; +0xc, 0x8ca79c MOV R7, R1 ; +0x10, 0x8ca7a0 MOV R6, R2 ; +0x14, 0x8ca7a4 BL BN_CTX_start ; +0x18, 0x8ca7a8 MOV R0, R4 ; +0x1c, 0x8ca7ac BL BN_CTX_get ; +0x20, 0x8ca7b0 SUBS R5, R0, #0 ; +0x24, 0x8ca7b4 BEQ loc_8CA7D0 ; +0x28, 0x8ca7b8 MOV R0, R6 ; +0x2c, 0x8ca7bc MOV R1, R5 ; +0x30, 0x8ca7c0 BL BN_GF2m_arr2poly ; +0x34, 0x8ca7c4 CMP R0, #0 ; +0x38, 0x8ca7c8 BNE loc_8CA7E4 ; +0x3c, 0x8ca7cc MOV R5, #0 ; +0x40, 0x8ca7d0 MOV R0, R4 ; +0x44, 0x8ca7d4 BL BN_CTX_end ; +0x48, 0x8ca7d8 MOV R0, R5 ; +0x4c, 0x8ca7dc POP {R4-R8,PC} ; +0x50, 0x8ca7e0 MOV R2, R5 ; +0x54, 0x8ca7e4 MOV R0, R8 ; +0x58, 0x8ca7e8 MOV R1, R7 ; +0x5c, 0x8ca7ec MOV R3, R4 ; +0x60, 0x8ca7f0 BL BN_GF2m_mod_inv ; +0x64, 0x8ca7f4 MOV R5, R0 ; +0x68, 0x8ca7f8 B loc_8CA7D4 ; +0x6c, 0x8ca7fc