{"type": "func", "start": 16997924, "end": 16997968, "name": "CRYPTO_ccm128_init", "pseudocode": "// \n// CRYPTO_ccm128_init from 0x1035e24 to 0x1035e50 (44 bytes)\n// \n// 4 xrefs:\n// > sub_1021E8C @ 0x1021f14\n// > sub_1021E8C @ 0x1021f94\n// > sub_1021E8C @ 0x1021fdc\n// > <???> @ 0xc5d88\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:16:24 +0000\n// \n\n_QWORD *__fastcall CRYPTO_ccm128_init(_QWORD *result, int a2, char a3, __int64 a4, __int64 a5)\n{\n  *result = 0;\n  result[1] = 0;\n  result[4] = 0;\n  *(_BYTE *)result = (a3 - 1) & 7 | (8 * (((unsigned int)(a2 - 2) >> 1) & 7));\n  result[5] = a5;\n  result[6] = a4;\n  return result;\n}", "assembly": "; \n; CRYPTO_ccm128_init from 0x1035e24 to 0x1035e50 (44 bytes)\n; \n; 4 xrefs:\n; > sub_1021E8C @ 0x1021f14\n; > sub_1021E8C @ 0x1021f94\n; > sub_1021E8C @ 0x1021fdc\n; > <???> @ 0xc5d88\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:16:24 +0000\n; \nSUB             W1, W1, #2                                             ; +0x0, 0x1035e24\nSUB             W2, W2, #1                                             ; +0x4, 0x1035e28\nUBFX            X1, X1, #1, #3                                         ; +0x8, 0x1035e2c\nAND             W2, W2, #7                                             ; +0xc, 0x1035e30\nSTP             XZR, XZR, [X0]                                         ; +0x10, 0x1035e34\nORR             W1, W2, W1,LSL#3                                       ; +0x14, 0x1035e38\nSTR             XZR, [X0,#0x20]                                        ; +0x18, 0x1035e3c\nSTRB            W1, [X0]                                               ; +0x1c, 0x1035e40\nSTR             X4, [X0,#0x28]                                         ; +0x20, 0x1035e44\nSTR             X3, [X0,#0x30]                                         ; +0x24, 0x1035e48\nRET                                                                    ; +0x28, 0x1035e4c", "xrefs": ["sub_1021E8C @ 0x1021f14", "sub_1021E8C @ 0x1021f94", "sub_1021E8C @ 0x1021fdc", "<???> @ 0xc5d88"], "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"}