{"type": "func", "start": 17847680, "end": 17847928, "name": "BLAKE2s_Init", "pseudocode": "// \n// BLAKE2s_Init from 0x1105580 to 0x1105678 (248 bytes)\n// \n// 2 xrefs:\n// > sub_10F28AC @ 0x10f28bc\n// > <???> @ 0xc72e8\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 13:18:28 +0000\n// \n\nint8x16_t __fastcall BLAKE2s_Init(int8x16_t *a1)\n{\n  int8x16_t v1; // q0\n  int8x16_t result; // q0\n\n  a1->n128_u32[0] = 1779033703;\n  a1->n128_u32[1] = -1150833019;\n  a1->n128_u32[2] = 1013904242;\n  a1->n128_u32[3] = -1521486534;\n  v1 = *a1;\n  a1[1].n128_u32[0] = 1359893119;\n  a1[2].n128_u64[0] = 0;\n  a1[2].n128_u64[1] = 0;\n  a1[3].n128_u64[0] = 0;\n  a1[3].n128_u64[1] = 0;\n  a1[4].n128_u64[0] = 0;\n  a1[4].n128_u64[1] = 0;\n  a1[5].n128_u64[0] = 0;\n  a1[5].n128_u64[1] = 0;\n  a1[6].n128_u64[0] = 0;\n  a1[6].n128_u64[1] = 0;\n  a1[7].n128_u64[0] = 0;\n  a1[1].n128_u32[1] = -1694144372;\n  a1[1].n128_u32[2] = 528734635;\n  a1[1].n128_u32[3] = 1541459225;\n  *a1 = veorq_s8(v1, (int8x16_t)0x1010020u);\n  result = veorq_s8(a1[1], (int8x16_t)0);\n  a1[1] = result;\n  return result;\n}", "assembly": "; \n; BLAKE2s_Init from 0x1105580 to 0x1105678 (248 bytes)\n; \n; 2 xrefs:\n; > sub_10F28AC @ 0x10f28bc\n; > <???> @ 0xc72e8\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 13:18:28 +0000\n; \nSUB             SP, SP, #0x20                                          ; +0x0, 0x1105580\nMOV             X1, X0                                                 ; +0x4, 0x1105584\nMOV             W6, #0xE667                                            ; +0x8, 0x1105588\nMOV             W5, #0xAE85                                            ; +0xc, 0x110558c\nMOV             W3, #0xF372                                            ; +0x10, 0x1105590\nMOV             W2, #0xF53A                                            ; +0x14, 0x1105594\nSTRB            WZR, [SP,#0x20+var_20+1]                               ; +0x18, 0x1105598\nMOV             W4, #1                                                 ; +0x1c, 0x110559c\nSTR             WZR, [SP,#0x20+var_20+4]                               ; +0x20, 0x11055a0\nMOVK            W6, #0x6A09,LSL#16                                     ; +0x24, 0x11055a4\nSTRB            W4, [SP,#0x20+var_20+2]                                ; +0x28, 0x11055a8\nMOV             W7, #0x20 ; ' '                                        ; +0x2c, 0x11055ac\nSTR             W6, [X1]                                               ; +0x30, 0x11055b0\nMOVK            W5, #0xBB67,LSL#16                                     ; +0x34, 0x11055b4\nSTRB            W7, [SP,#0x20+var_20]                                  ; +0x38, 0x11055b8\nMOVK            W3, #0x3C6E,LSL#16                                     ; +0x3c, 0x11055bc\nSTR             W5, [X1,#4]                                            ; +0x40, 0x11055c0\nMOVK            W2, #0xA54F,LSL#16                                     ; +0x44, 0x11055c4\nSTR             W3, [X1,#8]                                            ; +0x48, 0x11055c8\nMOV             W6, #0x688C                                            ; +0x4c, 0x11055cc\nSTR             W2, [X1,#0xC]                                          ; +0x50, 0x11055d0\nMOV             X3, X1                                                 ; +0x54, 0x11055d4\nSTRB            W4, [SP,#0x20+var_20+3]                                ; +0x58, 0x11055d8\nMOV             W2, #0x527F                                            ; +0x5c, 0x11055dc\nSTRB            WZR, [SP,#0x20+var_20+8]                               ; +0x60, 0x11055e0\nMOV             W5, #0xD9AB                                            ; +0x64, 0x11055e4\nSTRB            WZR, [SP,#0x20+var_20+9]                               ; +0x68, 0x11055e8\nMOV             W4, #0xCD19                                            ; +0x6c, 0x11055ec\nSTRB            WZR, [SP,#0x20+var_20+0xA]                             ; +0x70, 0x11055f0\nMOVK            W2, #0x510E,LSL#16                                     ; +0x74, 0x11055f4\nSTRB            WZR, [SP,#0x20+var_20+0xB]                             ; +0x78, 0x11055f8\nMOVK            W6, #0x9B05,LSL#16                                     ; +0x7c, 0x11055fc\nSTRB            WZR, [SP,#0x20+var_20+0xC]                             ; +0x80, 0x1105600\nMOVK            W5, #0x1F83,LSL#16                                     ; +0x84, 0x1105604\nSTRB            WZR, [SP,#0x20+var_20+0xD]                             ; +0x88, 0x1105608\nMOVK            W4, #0x5BE0,LSL#16                                     ; +0x8c, 0x110560c\nSTRB            WZR, [SP,#0x20+var_20+0xE]                             ; +0x90, 0x1105610\nMOV             W0, #1                                                 ; +0x94, 0x1105614\nSTRB            WZR, [SP,#0x20+var_20+0xF]                             ; +0x98, 0x1105618\nLDR             Q0, [X1]                                               ; +0x9c, 0x110561c\nLDR             Q1, [SP,#0x20+var_20]                                  ; +0xa0, 0x1105620\nSTR             W2, [X1,#0x10]                                         ; +0xa4, 0x1105624\nADD             X2, SP, #0x20+var_10                                   ; +0xa8, 0x1105628\nSTP             XZR, XZR, [X1,#0x20]                                   ; +0xac, 0x110562c\nSTP             XZR, XZR, [X1,#0x30]                                   ; +0xb0, 0x1105630\nSTP             XZR, XZR, [X1,#0x40]                                   ; +0xb4, 0x1105634\nEOR             V0.16B, V0.16B, V1.16B                                 ; +0xb8, 0x1105638\nSTP             XZR, XZR, [X1,#0x50]                                   ; +0xbc, 0x110563c\nSTP             XZR, XZR, [X1,#0x60]                                   ; +0xc0, 0x1105640\nSTR             XZR, [X1,#0x70]                                        ; +0xc4, 0x1105644\nSTR             W6, [X1,#0x14]                                         ; +0xc8, 0x1105648\nSTR             W5, [X1,#0x18]                                         ; +0xcc, 0x110564c\nSTR             W4, [X1,#0x1C]                                         ; +0xd0, 0x1105650\nSTR             Q0, [X3],#0x10                                         ; +0xd4, 0x1105654\nSTR             XZR, [SP,#0x20+var_10]                                 ; +0xd8, 0x1105658\nSTR             XZR, [SP,#0x20+var_8]                                  ; +0xdc, 0x110565c\nADD             SP, SP, #0x20 ; ' '                                    ; +0xe0, 0x1105660\nLDR             Q0, [X3]                                               ; +0xe4, 0x1105664\nLDR             Q1, [X2]                                               ; +0xe8, 0x1105668\nEOR             V0.16B, V0.16B, V1.16B                                 ; +0xec, 0x110566c\nSTR             Q0, [X3]                                               ; +0xf0, 0x1105670\nRET                                                                    ; +0xf4, 0x1105674", "xrefs": ["sub_10F28AC @ 0x10f28bc", "<???> @ 0xc72e8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}