{"type": "func", "start": 8172844, "end": 8172972, "name": "ASYNC_WAIT_CTX_free", "pseudocode": "// \n// ASYNC_WAIT_CTX_free from 0x7cb52c to 0x7cb5ac (128 bytes)\n// \n// 2 xrefs:\n// > SSL_free @ 0x79a0c0\n// > <???> @ 0x5c44c\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_DWORD *__fastcall ASYNC_WAIT_CTX_free(_DWORD *result)\n{\n  _DWORD *v1; // r4\n  _DWORD *v2; // r7\n  void (__fastcall *v3)(_DWORD *, _DWORD, _DWORD, _DWORD); // r12\n  _DWORD *v4; // r5\n\n  if ( result )\n  {\n    v1 = (_DWORD *)*result;\n    v2 = result;\n    if ( *result )\n    {\n      do\n      {\n        if ( !v1[5] )\n        {\n          v3 = (void (__fastcall *)(_DWORD *, _DWORD, _DWORD, _DWORD))v1[3];\n          if ( v3 )\n            v3(v2, *v1, v1[1], v1[2]);\n        }\n        v4 = (_DWORD *)v1[6];\n        CRYPTO_free(v1, \"crypto/async/async_wait.c\", 37);\n        v1 = v4;\n      }\n      while ( v4 );\n    }\n    return (_DWORD *)CRYPTO_free(v2, \"crypto/async/async_wait.c\", 41);\n  }\n  return result;\n}", "assembly": "; \n; ASYNC_WAIT_CTX_free from 0x7cb52c to 0x7cb5ac (128 bytes)\n; \n; 2 xrefs:\n; > SSL_free @ 0x79a0c0\n; > <???> @ 0x5c44c\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, 0x7cb52c\nBXEQ            LR                                                     ; +0x4, 0x7cb530\nPUSH            {R3-R7,LR}                                             ; +0x8, 0x7cb534\nLDR             R4, [R0]                                               ; +0xc, 0x7cb538\nLDR             R6, =(aCryptoAsyncAsy_0 - 0x7CB550); \"crypto/async/async_wait.c\" ; +0x10, 0x7cb53c\nCMP             R4, #0                                                 ; +0x14, 0x7cb540\nMOV             R7, R0                                                 ; +0x18, 0x7cb544\nADD             R6, PC, R6; \"crypto/async/async_wait.c\"                ; +0x1c, 0x7cb548\nBEQ             loc_7CB594                                             ; +0x20, 0x7cb54c\nLDR             R3, [R4,#0x14]                                         ; +0x24, 0x7cb550\nCMP             R3, #0                                                 ; +0x28, 0x7cb554\nBNE             loc_7CB574                                             ; +0x2c, 0x7cb558\nLDR             R12, [R4,#0xC]                                         ; +0x30, 0x7cb55c\nMOV             R0, R7                                                 ; +0x34, 0x7cb560\nCMP             R12, #0                                                ; +0x38, 0x7cb564\nBEQ             loc_7CB574                                             ; +0x3c, 0x7cb568\nLDM             R4, {R1-R3}                                            ; +0x40, 0x7cb56c\nBLX             R12                                                    ; +0x44, 0x7cb570\nLDR             R5, [R4,#0x18]                                         ; +0x48, 0x7cb574\nMOV             R0, R4                                                 ; +0x4c, 0x7cb578\nMOV             R1, R6                                                 ; +0x50, 0x7cb57c\nMOV             R2, #0x25 ; '%'                                        ; +0x54, 0x7cb580\nBL              CRYPTO_free                                            ; +0x58, 0x7cb584\nCMP             R5, #0                                                 ; +0x5c, 0x7cb588\nMOV             R4, R5                                                 ; +0x60, 0x7cb58c\nBNE             loc_7CB550                                             ; +0x64, 0x7cb590\nLDR             R1, =(aCryptoAsyncAsy_0 - 0x7CB5A4); \"crypto/async/async_wait.c\" ; +0x68, 0x7cb594\nMOV             R0, R7                                                 ; +0x6c, 0x7cb598\nADD             R1, PC, R1; \"crypto/async/async_wait.c\"                ; +0x70, 0x7cb59c\nMOV             R2, #0x29 ; ')'                                        ; +0x74, 0x7cb5a0\nPOP             {R3-R7,LR}                                             ; +0x78, 0x7cb5a4\nB               CRYPTO_free                                            ; +0x7c, 0x7cb5a8", "xrefs": ["SSL_free @ 0x79a0c0", "<???> @ 0x5c44c"], "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"}