{"type": "func", "start": 8492668, "end": 8492728, "name": "CRYPTO_ocb128_cleanup", "pseudocode": "// \n// CRYPTO_ocb128_cleanup from 0x81967c to 0x8196b8 (60 bytes)\n// \n// 2 xrefs:\n// > sub_7FDC0C @ 0x7fdc18\n// > <???> @ 0x62cec\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n_BYTE *__fastcall CRYPTO_ocb128_cleanup(_BYTE *result)\n{\n  _BYTE *v1; // r4\n\n  if ( result )\n  {\n    v1 = result;\n    CRYPTO_clear_free(*((_BYTE **)result + 16), 16 * *((_DWORD *)result + 6), (int)\"crypto/modes/ocb128.c\", 563);\n    return OPENSSL_cleanse(v1, 0xA8u);\n  }\n  return result;\n}", "assembly": "; \n; CRYPTO_ocb128_cleanup from 0x81967c to 0x8196b8 (60 bytes)\n; \n; 2 xrefs:\n; > sub_7FDC0C @ 0x7fdc18\n; > <???> @ 0x62cec\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nCMP             R0, #0                                                 ; +0x0, 0x81967c\nBXEQ            LR                                                     ; +0x4, 0x819680\nLDR             R1, [R0,#0x18]                                         ; +0x8, 0x819684\nLDR             R2, =(aCryptoModesOcb - 0x8196A0); \"crypto/modes/ocb128.c\" ; +0xc, 0x819688\nPUSH            {R4,LR}                                                ; +0x10, 0x81968c\nMOV             R1, R1,LSL#4                                           ; +0x14, 0x819690\nMOV             R4, R0                                                 ; +0x18, 0x819694\nADD             R2, PC, R2; \"crypto/modes/ocb128.c\"                    ; +0x1c, 0x819698\nLDR             R0, [R0,#0x40]                                         ; +0x20, 0x81969c\nLDR             R3, =0x233                                             ; +0x24, 0x8196a0\nBL              CRYPTO_clear_free                                      ; +0x28, 0x8196a4\nMOV             R0, R4                                                 ; +0x2c, 0x8196a8\nMOV             R1, #0xA8                                              ; +0x30, 0x8196ac\nPOP             {R4,LR}                                                ; +0x34, 0x8196b0\nB               OPENSSL_cleanse                                        ; +0x38, 0x8196b4", "xrefs": ["sub_7FDC0C @ 0x7fdc18", "<???> @ 0x62cec"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}