; ; AES_set_enc2dec_key from 0xa73d20 to 0xa73e44 (292 bytes) ; ; 2 xrefs: ; > AES_set_decrypt_key @ 0xa73d1c ; > @ 0x832ac ; ; 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:43 +0000 ; PUSH {R4-R12,LR} ; +0x0, 0xa73d20 LDR R12, [R0,#0xF0] ; +0x4, 0xa73d24 MOV R7, R0 ; +0x8, 0xa73d28 ADD R8, R0, R12,LSL#4 ; +0xc, 0xa73d2c MOV R11, R1 ; +0x10, 0xa73d30 ADD R10, R1, R12,LSL#4 ; +0x14, 0xa73d34 STR R12, [R1,#0xF0] ; +0x18, 0xa73d38 LDR R0, [R7],#0x10 ; +0x1c, 0xa73d3c LDR R1, [R7,#-0xC] ; +0x20, 0xa73d40 LDR R2, [R7,#-8] ; +0x24, 0xa73d44 LDR R3, [R7,#-4] ; +0x28, 0xa73d48 LDR R4, [R8],#-0x10 ; +0x2c, 0xa73d4c LDR R5, [R8,#0x14] ; +0x30, 0xa73d50 LDR R6, [R8,#0x18] ; +0x34, 0xa73d54 LDR R9, [R8,#0x1C] ; +0x38, 0xa73d58 STR R0, [R10],#-0x10 ; +0x3c, 0xa73d5c STR R1, [R10,#0x14] ; +0x40, 0xa73d60 STR R2, [R10,#0x18] ; +0x44, 0xa73d64 STR R3, [R10,#0x1C] ; +0x48, 0xa73d68 STR R4, [R11],#0x10 ; +0x4c, 0xa73d6c STR R5, [R11,#-0xC] ; +0x50, 0xa73d70 STR R6, [R11,#-8] ; +0x54, 0xa73d74 STR R9, [R11,#-4] ; +0x58, 0xa73d78 TEQ R7, R8 ; +0x5c, 0xa73d7c BNE loc_A73D3C ; +0x60, 0xa73d80 LDR R0, [R7] ; +0x64, 0xa73d84 LDR R1, [R7,#4] ; +0x68, 0xa73d88 LDR R2, [R7,#8] ; +0x6c, 0xa73d8c LDR R3, [R7,#0xC] ; +0x70, 0xa73d90 STR R0, [R11] ; +0x74, 0xa73d94 STR R1, [R11,#4] ; +0x78, 0xa73d98 STR R2, [R11,#8] ; +0x7c, 0xa73d9c STR R3, [R11,#0xC] ; +0x80, 0xa73da0 SUB R11, R11, R12,LSL#3 ; +0x84, 0xa73da4 LDR R0, [R11,#0x10]! ; +0x88, 0xa73da8 MOV R7, #0x80 ; +0x8c, 0xa73dac MOV R8, #0x1B ; +0x90, 0xa73db0 ORR R7, R7, #0x8000 ; +0x94, 0xa73db4 ORR R8, R8, #0x1B00 ; +0x98, 0xa73db8 ORR R7, R7, R7,LSL#16 ; +0x9c, 0xa73dbc ORR R8, R8, R8,LSL#16 ; +0xa0, 0xa73dc0 SUB R12, R12, #1 ; +0xa4, 0xa73dc4 MVN R9, R7 ; +0xa8, 0xa73dc8 MOV R12, R12,LSL#2 ; +0xac, 0xa73dcc AND R4, R0, R7 ; +0xb0, 0xa73dd0 AND R1, R0, R9 ; +0xb4, 0xa73dd4 SUB R4, R4, R4,LSR#7 ; +0xb8, 0xa73dd8 AND R4, R4, R8 ; +0xbc, 0xa73ddc EOR R1, R4, R1,LSL#1 ; +0xc0, 0xa73de0 AND R4, R1, R7 ; +0xc4, 0xa73de4 AND R2, R1, R9 ; +0xc8, 0xa73de8 SUB R4, R4, R4,LSR#7 ; +0xcc, 0xa73dec AND R4, R4, R8 ; +0xd0, 0xa73df0 EOR R2, R4, R2,LSL#1 ; +0xd4, 0xa73df4 AND R4, R2, R7 ; +0xd8, 0xa73df8 AND R3, R2, R9 ; +0xdc, 0xa73dfc SUB R4, R4, R4,LSR#7 ; +0xe0, 0xa73e00 AND R4, R4, R8 ; +0xe4, 0xa73e04 EOR R3, R4, R3,LSL#1 ; +0xe8, 0xa73e08 EOR R4, R1, R2 ; +0xec, 0xa73e0c EOR R5, R0, R3 ; +0xf0, 0xa73e10 EOR R4, R4, R3 ; +0xf4, 0xa73e14 EOR R4, R4, R1,ROR#24 ; +0xf8, 0xa73e18 EOR R4, R4, R5,ROR#24 ; +0xfc, 0xa73e1c EOR R4, R4, R2,ROR#16 ; +0x100, 0xa73e20 EOR R4, R4, R5,ROR#16 ; +0x104, 0xa73e24 EOR R4, R4, R5,ROR#8 ; +0x108, 0xa73e28 LDR R0, [R11,#4] ; +0x10c, 0xa73e2c STR R4, [R11],#4 ; +0x110, 0xa73e30 SUBS R12, R12, #1 ; +0x114, 0xa73e34 BNE loc_A73DD0 ; +0x118, 0xa73e38 MOV R0, #0 ; +0x11c, 0xa73e3c POP {R4-R12,PC} ; +0x120, 0xa73e40