{"type": "func", "start": 10354988, "end": 10355116, "name": "ASYNC_WAIT_CTX_free", "pseudocode": "// \n// ASYNC_WAIT_CTX_free from 0x9e012c to 0x9e01ac (128 bytes)\n// \n// 2 xrefs:\n// > SSL_free @ 0x9aecc4\n// > <???> @ 0x75ecc\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:07:20 +0000\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 0x9e012c to 0x9e01ac (128 bytes)\n; \n; 2 xrefs:\n; > SSL_free @ 0x9aecc4\n; > <???> @ 0x75ecc\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:07:20 +0000\n; \nCMP             R0, #0                                                 ; +0x0, 0x9e012c\nBXEQ            LR                                                     ; +0x4, 0x9e0130\nPUSH            {R3-R7,LR}                                             ; +0x8, 0x9e0134\nLDR             R4, [R0]                                               ; +0xc, 0x9e0138\nLDR             R6, =(aCryptoAsyncAsy_0 - 0x9E0150); \"crypto/async/async_wait.c\" ; +0x10, 0x9e013c\nCMP             R4, #0                                                 ; +0x14, 0x9e0140\nMOV             R7, R0                                                 ; +0x18, 0x9e0144\nADD             R6, PC, R6; \"crypto/async/async_wait.c\"                ; +0x1c, 0x9e0148\nBEQ             loc_9E0194                                             ; +0x20, 0x9e014c\nLDR             R3, [R4,#0x14]                                         ; +0x24, 0x9e0150\nCMP             R3, #0                                                 ; +0x28, 0x9e0154\nBNE             loc_9E0174                                             ; +0x2c, 0x9e0158\nLDR             R12, [R4,#0xC]                                         ; +0x30, 0x9e015c\nMOV             R0, R7                                                 ; +0x34, 0x9e0160\nCMP             R12, #0                                                ; +0x38, 0x9e0164\nBEQ             loc_9E0174                                             ; +0x3c, 0x9e0168\nLDM             R4, {R1-R3}                                            ; +0x40, 0x9e016c\nBLX             R12                                                    ; +0x44, 0x9e0170\nLDR             R5, [R4,#0x18]                                         ; +0x48, 0x9e0174\nMOV             R0, R4                                                 ; +0x4c, 0x9e0178\nMOV             R1, R6                                                 ; +0x50, 0x9e017c\nMOV             R2, #0x25 ; '%'                                        ; +0x54, 0x9e0180\nBL              CRYPTO_free                                            ; +0x58, 0x9e0184\nCMP             R5, #0                                                 ; +0x5c, 0x9e0188\nMOV             R4, R5                                                 ; +0x60, 0x9e018c\nBNE             loc_9E0150                                             ; +0x64, 0x9e0190\nLDR             R1, =(aCryptoAsyncAsy_0 - 0x9E01A4); \"crypto/async/async_wait.c\" ; +0x68, 0x9e0194\nMOV             R0, R7                                                 ; +0x6c, 0x9e0198\nADD             R1, PC, R1; \"crypto/async/async_wait.c\"                ; +0x70, 0x9e019c\nMOV             R2, #0x29 ; ')'                                        ; +0x74, 0x9e01a0\nPOP             {R3-R7,LR}                                             ; +0x78, 0x9e01a4\nB               CRYPTO_free                                            ; +0x7c, 0x9e01a8", "xrefs": ["SSL_free @ 0x9aecc4", "<???> @ 0x75ecc"], "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"}