{"type": "func", "start": 10668700, "end": 10668832, "name": "CRYPTO_ocb128_new", "pseudocode": "// \n// CRYPTO_ocb128_new from 0xa2ca9c to 0xa2cb20 (132 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x7dc9c\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 12:08:02 +0000\n// \n\nvoid *__fastcall CRYPTO_ocb128_new(int a1, int a2, void (__fastcall *a3)(_DWORD *, _DWORD *, int), int a4, int a5)\n{\n  _DWORD *v9; // r0\n  void *v10; // r4\n  void *v11; // r6\n  void *result; // r0\n\n  v9 = CRYPTO_malloc(&dword_A8, (int)\"crypto/modes/ocb128.c\", 146);\n  v10 = v9;\n  if ( !v9 )\n    return nullptr;\n  v11 = CRYPTO_ocb128_init(v9, a1, a2, a3, a4, a5);\n  result = v10;\n  if ( !v11 )\n  {\n    CRYPTO_free(v10, (int)\"crypto/modes/ocb128.c\", 151);\n    return nullptr;\n  }\n  return result;\n}", "assembly": "; \n; CRYPTO_ocb128_new from 0xa2ca9c to 0xa2cb20 (132 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x7dc9c\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 12:08:02 +0000\n; \nPUSH            {R4-R9,LR}                                             ; +0x0, 0xa2ca9c\nLDR             R5, =(aCryptoModesOcb - 0xA2CAB0); \"crypto/modes/ocb128.c\" ; +0x4, 0xa2caa0\nSUB             SP, SP, #0xC                                           ; +0x8, 0xa2caa4\nADD             R5, PC, R5; \"crypto/modes/ocb128.c\"                    ; +0xc, 0xa2caa8\nMOV             R8, R0                                                 ; +0x10, 0xa2caac\nMOV             R7, R1                                                 ; +0x14, 0xa2cab0\nMOV             R6, R2                                                 ; +0x18, 0xa2cab4\nMOV             R1, R5                                                 ; +0x1c, 0xa2cab8\nMOV             R0, #0xA8                                              ; +0x20, 0xa2cabc\nMOV             R2, #0x92                                              ; +0x24, 0xa2cac0\nMOV             R9, R3                                                 ; +0x28, 0xa2cac4\nBL              CRYPTO_malloc                                          ; +0x2c, 0xa2cac8\nSUBS            R4, R0, #0                                             ; +0x30, 0xa2cacc\nBEQ             loc_A2CB04                                             ; +0x34, 0xa2cad0\nLDR             R3, [SP,#0xC+arg_0]                                    ; +0x38, 0xa2cad4\nSTR             R3, [SP,#0xC+var_8]                                    ; +0x3c, 0xa2cad8\nSTR             R9, [SP,#0xC+var_C]                                    ; +0x40, 0xa2cadc\nMOV             R3, R6                                                 ; +0x44, 0xa2cae0\nMOV             R1, R8                                                 ; +0x48, 0xa2cae4\nMOV             R2, R7                                                 ; +0x4c, 0xa2cae8\nBL              CRYPTO_ocb128_init                                     ; +0x50, 0xa2caec\nSUBS            R6, R0, #0                                             ; +0x54, 0xa2caf0\nMOV             R0, R4                                                 ; +0x58, 0xa2caf4\nBEQ             loc_A2CB0C                                             ; +0x5c, 0xa2caf8\nADD             SP, SP, #0xC                                           ; +0x60, 0xa2cafc\nPOP             {R4-R9,PC}                                             ; +0x64, 0xa2cb00\nMOV             R0, R4                                                 ; +0x68, 0xa2cb04\nB               loc_A2CAFC                                             ; +0x6c, 0xa2cb08\nMOV             R1, R5                                                 ; +0x70, 0xa2cb0c\nMOV             R2, #0x97                                              ; +0x74, 0xa2cb10\nBL              CRYPTO_free                                            ; +0x78, 0xa2cb14\nMOV             R0, R6                                                 ; +0x7c, 0xa2cb18\nB               loc_A2CAFC                                             ; +0x80, 0xa2cb1c", "xrefs": ["<???> @ 0x7dc9c"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}