{"type": "func", "start": 10355600, "end": 10355684, "name": "ASYNC_WAIT_CTX_clear_fd", "pseudocode": "// \n// ASYNC_WAIT_CTX_clear_fd from 0x9e0390 to 0x9e03e4 (84 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x78d9c\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\nint __fastcall ASYNC_WAIT_CTX_clear_fd(int a1, int a2)\n{\n  _DWORD *i; // r3\n  int v4; // r2\n\n  for ( i = *(_DWORD **)a1; ; i = (_DWORD *)i[6] )\n  {\n    if ( !i )\n      return 0;\n    if ( !i[5] && *i == a2 )\n      break;\n  }\n  v4 = *(_DWORD *)(a1 + 8);\n  i[5] = 1;\n  *(_DWORD *)(a1 + 8) = v4 + 1;\n  return 1;\n}", "assembly": "; \n; ASYNC_WAIT_CTX_clear_fd from 0x9e0390 to 0x9e03e4 (84 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x78d9c\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; \nLDR             R3, [R0]                                               ; +0x0, 0x9e0390\nB               loc_9E03B4                                             ; +0x4, 0x9e0394\nLDR             R2, [R3,#0x14]                                         ; +0x8, 0x9e0398\nCMP             R2, #0                                                 ; +0xc, 0x9e039c\nBNE             loc_9E03B0                                             ; +0x10, 0x9e03a0\nLDR             R2, [R3]                                               ; +0x14, 0x9e03a4\nCMP             R2, R1                                                 ; +0x18, 0x9e03a8\nBEQ             loc_9E03C4                                             ; +0x1c, 0x9e03ac\nLDR             R3, [R3,#0x18]                                         ; +0x20, 0x9e03b0\nCMP             R3, #0                                                 ; +0x24, 0x9e03b4\nBNE             loc_9E0398                                             ; +0x28, 0x9e03b8\nMOV             R0, R3                                                 ; +0x2c, 0x9e03bc\nBX              LR                                                     ; +0x30, 0x9e03c0\nLDR             R2, [R0,#8]                                            ; +0x34, 0x9e03c4\nMOV             R1, #1                                                 ; +0x38, 0x9e03c8\nSTR             R1, [R3,#0x14]                                         ; +0x3c, 0x9e03cc\nADD             R2, R2, R1                                             ; +0x40, 0x9e03d0\nMOV             R3, R1                                                 ; +0x44, 0x9e03d4\nSTR             R2, [R0,#8]                                            ; +0x48, 0x9e03d8\nMOV             R0, R3                                                 ; +0x4c, 0x9e03dc\nBX              LR                                                     ; +0x50, 0x9e03e0", "xrefs": ["<???> @ 0x78d9c"], "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"}