; ; ASN1_INTEGER_set_int64 from 0xa76cf8 to 0xa76e3c (324 bytes) ; ; 3 xrefs: ; > ASN1_INTEGER_set @ 0xa77158 ; > PKCS5_pbe2_set_scrypt @ 0xadc6d8 ; > @ 0x8331c ; ; 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:44 +0000 ; PUSH {R4-R7,LR} ; +0x0, 0xa76cf8 CMP R2, #0 ; +0x4, 0xa76cfc MOV R7, R3 ; +0x8, 0xa76d00 SBCS R3, R7, #0 ; +0xc, 0xa76d04 MOV R3, #2 ; +0x10, 0xa76d08 SUB SP, SP, #0xC ; +0x14, 0xa76d0c STR R3, [R0,#4] ; +0x18, 0xa76d10 BLT loc_A76D54 ; +0x1c, 0xa76d14 CMP R2, #0x100 ; +0x20, 0xa76d18 SBCS R3, R7, #0 ; +0x24, 0xa76d1c MOVLT R12, #1 ; +0x28, 0xa76d20 STRBLT R2, [SP,#0xC+var_C] ; +0x2c, 0xa76d24 BGE loc_A76D7C ; +0x30, 0xa76d28 MOV R3, #2 ; +0x34, 0xa76d2c STR R3, [R0,#4] ; +0x38, 0xa76d30 CMP R12, #0 ; +0x3c, 0xa76d34 MOVEQ R0, R12; int ; +0x40, 0xa76d38 BEQ loc_A76D4C ; +0x44, 0xa76d3c MOV R2, R12 ; +0x48, 0xa76d40 MOV R1, SP; void * ; +0x4c, 0xa76d44 BL ASN1_STRING_set ; +0x50, 0xa76d48 ADD SP, SP, #0xC ; +0x54, 0xa76d4c POP {R4-R7,PC} ; +0x58, 0xa76d50 RSBS R6, R2, #0 ; +0x5c, 0xa76d54 RSC R7, R7, #0 ; +0x60, 0xa76d58 CMP R6, #0x100 ; +0x64, 0xa76d5c SBCS R3, R7, #0 ; +0x68, 0xa76d60 MOVLT R12, #1 ; +0x6c, 0xa76d64 STRBLT R6, [SP,#0xC+var_C] ; +0x70, 0xa76d68 BGE loc_A76DDC ; +0x74, 0xa76d6c LDR R3, =0x102 ; +0x78, 0xa76d70 STR R3, [R0,#4] ; +0x7c, 0xa76d74 B loc_A76D34 ; +0x80, 0xa76d78 MOV R4, R2 ; +0x84, 0xa76d7c MOV R5, R7 ; +0x88, 0xa76d80 MOV R3, R2 ; +0x8c, 0xa76d84 MOV LR, R7 ; +0x90, 0xa76d88 MOV R1, #0 ; +0x94, 0xa76d8c B loc_A76D98 ; +0x98, 0xa76d90 MOV R1, R12 ; +0x9c, 0xa76d94 MOV R2, R4,LSR#8 ; +0xa0, 0xa76d98 ORR R2, R2, R5,LSL#24 ; +0xa4, 0xa76d9c MOV R12, R5,LSR#8 ; +0xa8, 0xa76da0 MOV R5, R12 ; +0xac, 0xa76da4 MOV R4, R2 ; +0xb0, 0xa76da8 ORRS R2, R4, R5 ; +0xb4, 0xa76dac ADD R12, R1, #1 ; +0xb8, 0xa76db0 BNE loc_A76D94 ; +0xbc, 0xa76db4 MOV R4, SP ; +0xc0, 0xa76db8 ADD R1, SP, R1 ; +0xc4, 0xa76dbc STRB R3, [R1],#-1 ; +0xc8, 0xa76dc0 MOV R3, R3,LSR#8 ; +0xcc, 0xa76dc4 CMP R1, R4 ; +0xd0, 0xa76dc8 ORR R3, R3, LR,LSL#24 ; +0xd4, 0xa76dcc MOV LR, LR,LSR#8 ; +0xd8, 0xa76dd0 BCS loc_A76DC0 ; +0xdc, 0xa76dd4 B loc_A76D2C ; +0xe0, 0xa76dd8 MOV R4, R6 ; +0xe4, 0xa76ddc MOV R5, R7 ; +0xe8, 0xa76de0 MOV R3, R6 ; +0xec, 0xa76de4 MOV LR, R7 ; +0xf0, 0xa76de8 MOV R2, #0 ; +0xf4, 0xa76dec B loc_A76DF8 ; +0xf8, 0xa76df0 MOV R2, R12 ; +0xfc, 0xa76df4 MOV R1, R4,LSR#8 ; +0x100, 0xa76df8 ORR R1, R1, R5,LSL#24 ; +0x104, 0xa76dfc MOV R12, R5,LSR#8 ; +0x108, 0xa76e00 MOV R5, R12 ; +0x10c, 0xa76e04 MOV R4, R1 ; +0x110, 0xa76e08 ORRS R1, R4, R5 ; +0x114, 0xa76e0c ADD R12, R2, #1 ; +0x118, 0xa76e10 BNE loc_A76DF4 ; +0x11c, 0xa76e14 MOV R4, SP ; +0x120, 0xa76e18 ADD R2, SP, R2 ; +0x124, 0xa76e1c STRB R3, [R2],#-1 ; +0x128, 0xa76e20 MOV R3, R3,LSR#8 ; +0x12c, 0xa76e24 CMP R2, R4 ; +0x130, 0xa76e28 ORR R3, R3, LR,LSL#24 ; +0x134, 0xa76e2c MOV LR, LR,LSR#8 ; +0x138, 0xa76e30 BCS loc_A76E20 ; +0x13c, 0xa76e34 B loc_A76D70 ; +0x140, 0xa76e38