{"type": "func", "start": 8228960, "end": 8229004, "name": "CMAC_CTX_free", "pseudocode": "// \n// CMAC_CTX_free from 0x7d9060 to 0x7d908c (44 bytes)\n// \n// 4 xrefs:\n// > sub_7D8F8C @ 0x7d8f98\n// > sub_872908 @ 0x87290c\n// > sub_872910 @ 0x87295c\n// > <???> @ 0x6001c\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\nint __fastcall CMAC_CTX_free(int result)\n{\n  int v1; // r4\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 0x7d9060 to 0x7d908c (44 bytes)\n; \n; 4 xrefs:\n; > sub_7D8F8C @ 0x7d8f98\n; > sub_872908 @ 0x87290c\n; > sub_872910 @ 0x87295c\n; > <???> @ 0x6001c\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\nSUBS            R3, R0, #0                                             ; +0x0, 0x7d9060\nBXEQ            LR                                                     ; +0x4, 0x7d9064\nPUSH            {R4,LR}                                                ; +0x8, 0x7d9068\nMOV             R4, R3                                                 ; +0xc, 0x7d906c\nBL              CMAC_CTX_cleanup                                       ; +0x10, 0x7d9070\nLDR             R1, =(aCryptoCmacCmac - 0x7D9084); \"crypto/cmac/cmac.c\" ; +0x14, 0x7d9074\nMOV             R0, R4                                                 ; +0x18, 0x7d9078\nADD             R1, PC, R1; \"crypto/cmac/cmac.c\"                       ; +0x1c, 0x7d907c\nMOV             R2, #0x51 ; 'Q'                                        ; +0x20, 0x7d9080\nPOP             {R4,LR}                                                ; +0x24, 0x7d9084\nB               CRYPTO_free                                            ; +0x28, 0x7d9088", "xrefs": ["sub_7D8F8C @ 0x7d8f98", "sub_872908 @ 0x87290c", "sub_872910 @ 0x87295c", "<???> @ 0x6001c"], "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"}