{"type": "func", "start": 14096140, "end": 14096264, "name": "ASYNC_WAIT_CTX_get_changed_fds", "pseudocode": "// \n// ASYNC_WAIT_CTX_get_changed_fds from 0xd7170c to 0xd71788 (124 bytes)\n// \n// 2 xrefs:\n// > SSL_get_changed_async_fds @ 0xd3fe28\n// > <???> @ 0x6edf0\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__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 0xd7170c to 0xd71788 (124 bytes)\n; \n; 2 xrefs:\n; > SSL_get_changed_async_fds @ 0xd3fe28\n; > <???> @ 0x6edf0\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\nLDR             X5, [X0,#8]                                            ; +0x0, 0xd7170c\nSTR             X5, [X2]                                               ; +0x4, 0xd71710\nLDR             X2, [X0,#0x10]                                         ; +0x8, 0xd71714\nSTR             X2, [X4]                                               ; +0xc, 0xd71718\nCBNZ            X1, loc_D7172C                                         ; +0x10, 0xd7171c\nCBNZ            X3, loc_D7172C                                         ; +0x14, 0xd71720\nMOV             W0, #1                                                 ; +0x18, 0xd71724\nRET                                                                    ; +0x1c, 0xd71728\nLDR             X0, [X0]                                               ; +0x20, 0xd7172c\nCBNZ            X0, loc_D7175C                                         ; +0x24, 0xd71730\nB               loc_D71724                                             ; +0x28, 0xd71734\nLDR             W2, [X0,#0x20]                                         ; +0x2c, 0xd71738\nCBNZ            W2, loc_D71754                                         ; +0x30, 0xd7173c\nCBZ             X3, loc_D71754                                         ; +0x34, 0xd71740\nLDR             W2, [X0,#8]                                            ; +0x38, 0xd71744\nSTR             W2, [X3],#4                                            ; +0x3c, 0xd71748\nLDR             W2, [X0,#0x20]                                         ; +0x40, 0xd7174c\nCBNZ            W2, loc_D7177C                                         ; +0x44, 0xd71750\nLDR             X0, [X0,#0x28]                                         ; +0x48, 0xd71754\nCBZ             X0, loc_D71724                                         ; +0x4c, 0xd71758\nLDR             W2, [X0,#0x24]                                         ; +0x50, 0xd7175c\nCBNZ            W2, loc_D71738                                         ; +0x54, 0xd71760\nLDR             W2, [X0,#0x20]                                         ; +0x58, 0xd71764\nCBZ             W2, loc_D71754                                         ; +0x5c, 0xd71768\nCBZ             X1, loc_D71754                                         ; +0x60, 0xd7176c\nLDR             W2, [X0,#8]                                            ; +0x64, 0xd71770\nSTR             W2, [X1],#4                                            ; +0x68, 0xd71774\nB               loc_D71754                                             ; +0x6c, 0xd71778\nLDR             W2, [X0,#0x24]                                         ; +0x70, 0xd7177c\nCBZ             W2, loc_D7176C                                         ; +0x74, 0xd71780\nB               loc_D71754                                             ; +0x78, 0xd71784", "xrefs": ["SSL_get_changed_async_fds @ 0xd3fe28", "<???> @ 0x6edf0"], "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"}