{"type": "func", "start": 14157128, "end": 14157192, "name": "CMAC_CTX_free", "pseudocode": "// \n// CMAC_CTX_free from 0xd80548 to 0xd80588 (64 bytes)\n// \n// 4 xrefs:\n// > sub_D80458 @ 0xd80468\n// > sub_E1D2FC @ 0xe1d300\n// > sub_E1D304 @ 0xe1d364\n// > <???> @ 0x4b5a0\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__int64 __fastcall CMAC_CTX_free(__int64 result)\n{\n  __int64 v1; // x19\n\n  if ( result )\n  {\n    v1 = result;\n    CMAC_CTX_cleanup(result);\n    return CRYPTO_free(v1, \"crypto/cmac/cmac.c\", 81);\n  }\n  return result;\n}", "assembly": "; \n; CMAC_CTX_free from 0xd80548 to 0xd80588 (64 bytes)\n; \n; 4 xrefs:\n; > sub_D80458 @ 0xd80468\n; > sub_E1D2FC @ 0xe1d300\n; > sub_E1D304 @ 0xe1d364\n; > <???> @ 0x4b5a0\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\nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0xd80548\nMOV             X29, SP                                                ; +0x4, 0xd8054c\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0xd80550\nCBZ             X0, loc_D8057C                                         ; +0xc, 0xd80554\nMOV             X19, X0                                                ; +0x10, 0xd80558\nBL              CMAC_CTX_cleanup                                       ; +0x14, 0xd8055c\nMOV             X0, X19                                                ; +0x18, 0xd80560\nADRP            X1, #aCryptoCmacCmac@PAGE; \"crypto/cmac/cmac.c\"        ; +0x1c, 0xd80564\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x20, 0xd80568\nADD             X1, X1, #aCryptoCmacCmac@PAGEOFF; \"crypto/cmac/cmac.c\" ; +0x24, 0xd8056c\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x28, 0xd80570\nMOV             W2, #0x51 ; 'Q'                                        ; +0x2c, 0xd80574\nB               CRYPTO_free                                            ; +0x30, 0xd80578\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x34, 0xd8057c\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x38, 0xd80580\nRET                                                                    ; +0x3c, 0xd80584", "xrefs": ["sub_D80458 @ 0xd80468", "sub_E1D2FC @ 0xe1d300", "sub_E1D304 @ 0xe1d364", "<???> @ 0x4b5a0"], "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"}