{"type": "func", "start": 16709800, "end": 16709960, "name": "ASYNC_WAIT_CTX_free", "pseudocode": "// \n// ASYNC_WAIT_CTX_free from 0xfef8a8 to 0xfef948 (160 bytes)\n// \n// 2 xrefs:\n// > SSL_free @ 0xfc0f20\n// > <???> @ 0xbb918\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:15:45 +0000\n// \n\n_QWORD *__fastcall ASYNC_WAIT_CTX_free(_QWORD *result)\n{\n  __int64 v1; // x19\n  _QWORD *v2; // x21\n  void (__fastcall *v3)(_QWORD *, _QWORD, _QWORD, _QWORD); // x4\n  __int64 v4; // x0\n\n  if ( result )\n  {\n    v1 = *result;\n    v2 = result;\n    while ( v1 )\n    {\n      if ( !*(_DWORD *)(v1 + 36) )\n      {\n        v3 = *(void (__fastcall **)(_QWORD *, _QWORD, _QWORD, _QWORD))(v1 + 24);\n        if ( v3 )\n          v3(v2, *(_QWORD *)v1, *(unsigned int *)(v1 + 8), *(_QWORD *)(v1 + 16));\n      }\n      v4 = v1;\n      v1 = *(_QWORD *)(v1 + 40);\n      CRYPTO_free(v4, \"crypto/async/async_wait.c\", 37);\n    }\n    return (_QWORD *)CRYPTO_free(v2, \"crypto/async/async_wait.c\", 41);\n  }\n  return result;\n}", "assembly": "; \n; ASYNC_WAIT_CTX_free from 0xfef8a8 to 0xfef948 (160 bytes)\n; \n; 2 xrefs:\n; > SSL_free @ 0xfc0f20\n; > <???> @ 0xbb918\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:15:45 +0000\n; \nSTP             X29, X30, [SP,#var_40]!                                ; +0x0, 0xfef8a8\nMOV             X29, SP                                                ; +0x4, 0xfef8ac\nSTP             X19, X20, [SP,#0x40+var_30]                            ; +0x8, 0xfef8b0\nSTP             X21, X22, [SP,#0x40+var_20]                            ; +0xc, 0xfef8b4\nSTR             X23, [SP,#0x40+var_10]                                 ; +0x10, 0xfef8b8\nCBZ             X0, loc_FEF934                                         ; +0x14, 0xfef8bc\nLDR             X19, [X0]                                              ; +0x18, 0xfef8c0\nADRP            X23, #aCryptoAsyncAsy_0@PAGE; \"crypto/async/async_wait.c\" ; +0x1c, 0xfef8c4\nMOV             X21, X0                                                ; +0x20, 0xfef8c8\nADD             X22, X23, #aCryptoAsyncAsy_0@PAGEOFF; \"crypto/async/async_wait.c\" ; +0x24, 0xfef8cc\nCBZ             X19, loc_FEF914                                        ; +0x28, 0xfef8d0\nLDR             W2, [X19,#0x24]                                        ; +0x2c, 0xfef8d4\nCBNZ            W2, loc_FEF8F8                                         ; +0x30, 0xfef8d8\nLDR             X4, [X19,#0x18]                                        ; +0x34, 0xfef8dc\nMOV             X0, X21                                                ; +0x38, 0xfef8e0\nCBZ             X4, loc_FEF8F8                                         ; +0x3c, 0xfef8e4\nLDR             X1, [X19]                                              ; +0x40, 0xfef8e8\nLDR             W2, [X19,#8]                                           ; +0x44, 0xfef8ec\nLDR             X3, [X19,#0x10]                                        ; +0x48, 0xfef8f0\nBLR             X4                                                     ; +0x4c, 0xfef8f4\nLDR             X20, [X19,#0x28]                                       ; +0x50, 0xfef8f8\nMOV             X0, X19                                                ; +0x54, 0xfef8fc\nMOV             X1, X22                                                ; +0x58, 0xfef900\nMOV             W2, #0x25 ; '%'                                        ; +0x5c, 0xfef904\nMOV             X19, X20                                               ; +0x60, 0xfef908\nBL              CRYPTO_free                                            ; +0x64, 0xfef90c\nCBNZ            X20, loc_FEF8D4                                        ; +0x68, 0xfef910\nMOV             X0, X21                                                ; +0x6c, 0xfef914\nADD             X1, X23, #aCryptoAsyncAsy_0@PAGEOFF; \"crypto/async/async_wait.c\" ; +0x70, 0xfef918\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0x74, 0xfef91c\nLDP             X21, X22, [SP,#0x40+var_20]                            ; +0x78, 0xfef920\nLDR             X23, [SP,#0x40+var_10]                                 ; +0x7c, 0xfef924\nMOV             W2, #0x29 ; ')'                                        ; +0x80, 0xfef928\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x84, 0xfef92c\nB               CRYPTO_free                                            ; +0x88, 0xfef930\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0x8c, 0xfef934\nLDP             X21, X22, [SP,#0x40+var_20]                            ; +0x90, 0xfef938\nLDR             X23, [SP,#0x40+var_10]                                 ; +0x94, 0xfef93c\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x98, 0xfef940\nRET                                                                    ; +0x9c, 0xfef944", "xrefs": ["SSL_free @ 0xfc0f20", "<???> @ 0xbb918"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}