{"type": "func", "start": 6442555024, "end": 6442555093, "name": "sub_180019690", "pseudocode": "// \n// sub_180019690 from 0x180019690 to 0x1800196d5 (69 bytes)\n// \n// 2 xrefs:\n// > cocos2d::extension::WebSocket::init @ 0x18001a26a\n// > <???> @ 0x18004ac44\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 sub_180019690(__int64 a1)\n{\n  (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 104) + 8LL))(*(_QWORD *)(a1 + 104));\n  if ( !*(_BYTE *)(a1 + 112) )\n  {\n    while ( !(*(unsigned int (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 104) + 16LL))(*(_QWORD *)(a1 + 104))\n         && !*(_BYTE *)(a1 + 112) )\n      ;\n  }\n  (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 104) + 24LL))(*(_QWORD *)(a1 + 104));\n  return 0;\n}", "assembly": "; \n; sub_180019690 from 0x180019690 to 0x1800196d5 (69 bytes)\n; \n; 2 xrefs:\n; > cocos2d::extension::WebSocket::init @ 0x18001a26a\n; > <???> @ 0x18004ac44\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\npush    rbx                                                            ; +0x0, 0x180019690\nsub     rsp, 20h                                                       ; +0x2, 0x180019692\nmov     rbx, rcx                                                       ; +0x6, 0x180019696\nmov     rcx, [rcx+68h]                                                 ; +0x9, 0x180019699\nmov     rax, [rcx]                                                     ; +0xd, 0x18001969d\ncall    qword ptr [rax+8]                                              ; +0x10, 0x1800196a0\ncmp     byte ptr [rbx+70h], 0                                          ; +0x13, 0x1800196a3\njnz     short loc_1800196C3                                            ; +0x17, 0x1800196a7\nnop     dword ptr [rax+00000000h]                                      ; +0x19, 0x1800196a9\nmov     rcx, [rbx+68h]                                                 ; +0x20, 0x1800196b0\nmov     rax, [rcx]                                                     ; +0x24, 0x1800196b4\ncall    qword ptr [rax+10h]                                            ; +0x27, 0x1800196b7\ntest    eax, eax                                                       ; +0x2a, 0x1800196ba\njnz     short loc_1800196C3                                            ; +0x2c, 0x1800196bc\ncmp     [rbx+70h], al                                                  ; +0x2e, 0x1800196be\njz      short loc_1800196B0                                            ; +0x31, 0x1800196c1\nmov     rcx, [rbx+68h]                                                 ; +0x33, 0x1800196c3\nmov     rax, [rcx]                                                     ; +0x37, 0x1800196c7\ncall    qword ptr [rax+18h]                                            ; +0x3a, 0x1800196ca\nxor     eax, eax                                                       ; +0x3d, 0x1800196cd\nadd     rsp, 20h                                                       ; +0x3f, 0x1800196cf\npop     rbx                                                            ; +0x43, 0x1800196d3\nretn                                                                   ; +0x44, 0x1800196d4", "xrefs": ["cocos2d::extension::WebSocket::init @ 0x18001a26a", "<???> @ 0x18004ac44"], "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"}