{"type": "func", "start": 17024232, "end": 17024388, "name": "CRYPTO_ocb128_new", "pseudocode": "// \n// CRYPTO_ocb128_new from 0x103c4e8 to 0x103c584 (156 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x950e0\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:27 +0000\n// \n\nvoid *__fastcall CRYPTO_ocb128_new(\n        __int64 a1,\n        __int64 a2,\n        void (__fastcall *a3)(__int64, __int64, __int64),\n        __int64 a4,\n        __int64 a5)\n{\n  void *v10; // x0\n  void *v11; // x19\n  void *v13; // x0\n\n  v10 = CRYPTO_malloc(off_C0, (__int64)\"crypto/modes/ocb128.c\", 146);\n  v11 = v10;\n  if ( v10 && !(unsigned int)CRYPTO_ocb128_init((__int64)v10, a1, a2, a3, a4, a5) )\n  {\n    v13 = v11;\n    v11 = nullptr;\n    CRYPTO_free(v13, (__int64)\"crypto/modes/ocb128.c\", 151);\n  }\n  return v11;\n}", "assembly": "; \n; CRYPTO_ocb128_new from 0x103c4e8 to 0x103c584 (156 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x950e0\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:27 +0000\n; \nSTP             X29, X30, [SP,#var_50]!                                ; +0x0, 0x103c4e8\nMOV             X29, SP                                                ; +0x4, 0x103c4ec\nSTP             X19, X20, [SP,#0x50+var_40]                            ; +0x8, 0x103c4f0\nADRP            X20, #aCryptoModesOcb@PAGE; \"crypto/modes/ocb128.c\"    ; +0xc, 0x103c4f4\nSTR             X25, [SP,#0x50+var_10]                                 ; +0x10, 0x103c4f8\nADD             X20, X20, #aCryptoModesOcb@PAGEOFF; \"crypto/modes/ocb128.c\" ; +0x14, 0x103c4fc\nMOV             X25, X0                                                ; +0x18, 0x103c500\nSTP             X23, X24, [SP,#0x50+var_20]                            ; +0x1c, 0x103c504\nMOV             X0, #0xC0                                              ; +0x20, 0x103c508\nMOV             X24, X1                                                ; +0x24, 0x103c50c\nMOV             X23, X2                                                ; +0x28, 0x103c510\nMOV             X1, X20                                                ; +0x2c, 0x103c514\nMOV             W2, #0x92                                              ; +0x30, 0x103c518\nSTP             X21, X22, [SP,#0x50+var_30]                            ; +0x34, 0x103c51c\nMOV             X22, X3                                                ; +0x38, 0x103c520\nMOV             X21, X4                                                ; +0x3c, 0x103c524\nBL              CRYPTO_malloc                                          ; +0x40, 0x103c528\nMOV             X19, X0                                                ; +0x44, 0x103c52c\nCBZ             X0, loc_103C550                                        ; +0x48, 0x103c530\nMOV             X1, X25                                                ; +0x4c, 0x103c534\nMOV             X2, X24                                                ; +0x50, 0x103c538\nMOV             X3, X23                                                ; +0x54, 0x103c53c\nMOV             X4, X22                                                ; +0x58, 0x103c540\nMOV             X5, X21                                                ; +0x5c, 0x103c544\nBL              CRYPTO_ocb128_init                                     ; +0x60, 0x103c548\nCBZ             W0, loc_103C56C                                        ; +0x64, 0x103c54c\nMOV             X0, X19                                                ; +0x68, 0x103c550\nLDR             X25, [SP,#0x50+var_10]                                 ; +0x6c, 0x103c554\nLDP             X19, X20, [SP,#0x50+var_40]                            ; +0x70, 0x103c558\nLDP             X21, X22, [SP,#0x50+var_30]                            ; +0x74, 0x103c55c\nLDP             X23, X24, [SP,#0x50+var_20]                            ; +0x78, 0x103c560\nLDP             X29, X30, [SP+0x50+var_50],#0x50                       ; +0x7c, 0x103c564\nRET                                                                    ; +0x80, 0x103c568\nMOV             X0, X19                                                ; +0x84, 0x103c56c\nMOV             X1, X20                                                ; +0x88, 0x103c570\nMOV             W2, #0x97                                              ; +0x8c, 0x103c574\nMOV             X19, #0                                                ; +0x90, 0x103c578\nBL              CRYPTO_free                                            ; +0x94, 0x103c57c\nB               loc_103C550                                            ; +0x98, 0x103c580", "xrefs": ["<???> @ 0x950e0"], "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"}