{"type": "func", "start": 16710252, "end": 16710376, "name": "ASYNC_WAIT_CTX_get_changed_fds", "pseudocode": "// \n// ASYNC_WAIT_CTX_get_changed_fds from 0xfefa6c to 0xfefae8 (124 bytes)\n// \n// 2 xrefs:\n// > SSL_get_changed_async_fds @ 0xfbe17c\n// > <???> @ 0x957d0\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__int64 __fastcall ASYNC_WAIT_CTX_get_changed_fds(__int64 *a1, _DWORD *a2, _QWORD *a3, _DWORD *a4, _QWORD *a5)\n{\n  __int64 i; // x0\n\n  *a3 = a1[1];\n  *a5 = a1[2];\n  if ( a2 || a4 )\n  {\n    for ( i = *a1; i; i = *(_QWORD *)(i + 40) )\n    {\n      if ( *(_DWORD *)(i + 36) )\n      {\n        if ( !*(_DWORD *)(i + 32) )\n        {\n          if ( a4 )\n          {\n            *a4++ = *(_DWORD *)(i + 8);\n            if ( *(_DWORD *)(i + 32) )\n            {\n              if ( !*(_DWORD *)(i + 36) )\n              {\nLABEL_12:\n                if ( a2 )\n                  *a2++ = *(_DWORD *)(i + 8);\n              }\n            }\n          }\n        }\n      }\n      else if ( *(_DWORD *)(i + 32) )\n      {\n        goto LABEL_12;\n      }\n    }\n  }\n  return 1;\n}", "assembly": "; \n; ASYNC_WAIT_CTX_get_changed_fds from 0xfefa6c to 0xfefae8 (124 bytes)\n; \n; 2 xrefs:\n; > SSL_get_changed_async_fds @ 0xfbe17c\n; > <???> @ 0x957d0\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; \nLDR             X5, [X0,#8]                                            ; +0x0, 0xfefa6c\nSTR             X5, [X2]                                               ; +0x4, 0xfefa70\nLDR             X2, [X0,#0x10]                                         ; +0x8, 0xfefa74\nSTR             X2, [X4]                                               ; +0xc, 0xfefa78\nCBNZ            X1, loc_FEFA8C                                         ; +0x10, 0xfefa7c\nCBNZ            X3, loc_FEFA8C                                         ; +0x14, 0xfefa80\nMOV             W0, #1                                                 ; +0x18, 0xfefa84\nRET                                                                    ; +0x1c, 0xfefa88\nLDR             X0, [X0]                                               ; +0x20, 0xfefa8c\nCBNZ            X0, loc_FEFABC                                         ; +0x24, 0xfefa90\nB               loc_FEFA84                                             ; +0x28, 0xfefa94\nLDR             W2, [X0,#0x20]                                         ; +0x2c, 0xfefa98\nCBNZ            W2, loc_FEFAB4                                         ; +0x30, 0xfefa9c\nCBZ             X3, loc_FEFAB4                                         ; +0x34, 0xfefaa0\nLDR             W2, [X0,#8]                                            ; +0x38, 0xfefaa4\nSTR             W2, [X3],#4                                            ; +0x3c, 0xfefaa8\nLDR             W2, [X0,#0x20]                                         ; +0x40, 0xfefaac\nCBNZ            W2, loc_FEFADC                                         ; +0x44, 0xfefab0\nLDR             X0, [X0,#0x28]                                         ; +0x48, 0xfefab4\nCBZ             X0, loc_FEFA84                                         ; +0x4c, 0xfefab8\nLDR             W2, [X0,#0x24]                                         ; +0x50, 0xfefabc\nCBNZ            W2, loc_FEFA98                                         ; +0x54, 0xfefac0\nLDR             W2, [X0,#0x20]                                         ; +0x58, 0xfefac4\nCBZ             W2, loc_FEFAB4                                         ; +0x5c, 0xfefac8\nCBZ             X1, loc_FEFAB4                                         ; +0x60, 0xfefacc\nLDR             W2, [X0,#8]                                            ; +0x64, 0xfefad0\nSTR             W2, [X1],#4                                            ; +0x68, 0xfefad4\nB               loc_FEFAB4                                             ; +0x6c, 0xfefad8\nLDR             W2, [X0,#0x24]                                         ; +0x70, 0xfefadc\nCBZ             W2, loc_FEFACC                                         ; +0x74, 0xfefae0\nB               loc_FEFAB4                                             ; +0x78, 0xfefae4", "xrefs": ["SSL_get_changed_async_fds @ 0xfbe17c", "<???> @ 0x957d0"], "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"}