{"type": "func", "start": 8173104, "end": 8173180, "name": "ASYNC_WAIT_CTX_get_fd", "pseudocode": "// \n// ASYNC_WAIT_CTX_get_fd from 0x7cb630 to 0x7cb67c (76 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x5f30c\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_DWORD *__fastcall ASYNC_WAIT_CTX_get_fd(_DWORD **a1, int a2, _DWORD *a3, _DWORD *a4)\n{\n  _DWORD *result; // r0\n  int v5; // r1\n\n  result = *a1;\n  if ( result )\n  {\n    while ( result[5] || *result != a2 )\n    {\n      result = (_DWORD *)result[6];\n      if ( !result )\n        return result;\n    }\n    v5 = result[2];\n    *a3 = result[1];\n    *a4 = v5;\n    return &dword_0 + 1;\n  }\n  return result;\n}", "assembly": "; \n; ASYNC_WAIT_CTX_get_fd from 0x7cb630 to 0x7cb67c (76 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x5f30c\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             R0, [R0]                                               ; +0x0, 0x7cb630\nCMP             R0, #0                                                 ; +0x4, 0x7cb634\nBXEQ            LR                                                     ; +0x8, 0x7cb638\nLDR             R12, [R0,#0x14]                                        ; +0xc, 0x7cb63c\nCMP             R12, #0                                                ; +0x10, 0x7cb640\nBNE             loc_7CB654                                             ; +0x14, 0x7cb644\nLDR             R12, [R0]                                              ; +0x18, 0x7cb648\nCMP             R12, R1                                                ; +0x1c, 0x7cb64c\nBEQ             loc_7CB664                                             ; +0x20, 0x7cb650\nLDR             R0, [R0,#0x18]                                         ; +0x24, 0x7cb654\nCMP             R0, #0                                                 ; +0x28, 0x7cb658\nBNE             loc_7CB63C                                             ; +0x2c, 0x7cb65c\nBX              LR                                                     ; +0x30, 0x7cb660\nLDR             R12, [R0,#4]                                           ; +0x34, 0x7cb664\nLDR             R1, [R0,#8]                                            ; +0x38, 0x7cb668\nSTR             R12, [R2]                                              ; +0x3c, 0x7cb66c\nMOV             R0, #1                                                 ; +0x40, 0x7cb670\nSTR             R1, [R3]                                               ; +0x44, 0x7cb674\nBX              LR                                                     ; +0x48, 0x7cb678", "xrefs": ["<???> @ 0x5f30c"], "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"}