{"type": "func", "start": 6442554672, "end": 6442554741, "name": "sub_180019530", "pseudocode": "// \n// sub_180019530 from 0x180019530 to 0x180019575 (69 bytes)\n// \n// 2 xrefs:\n// > cocos2d::extension::WebSocket::init @ 0x180019fc7\n// > <???> @ 0x18004cba8\n// \n// This function is hookable on this platform (idp: pc, 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 12:15:42 +0000\n// \n\n__int64 __fastcall sub_180019530(__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_180019530 from 0x180019530 to 0x180019575 (69 bytes)\n; \n; 2 xrefs:\n; > cocos2d::extension::WebSocket::init @ 0x180019fc7\n; > <???> @ 0x18004cba8\n; \n; This function is hookable on this platform (idp: pc, 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 12:15:42 +0000\n; \npush    rbx                                                            ; +0x0, 0x180019530\nsub     rsp, 20h                                                       ; +0x2, 0x180019532\nmov     rbx, rcx                                                       ; +0x6, 0x180019536\nmov     rcx, [rcx+68h]                                                 ; +0x9, 0x180019539\nmov     rax, [rcx]                                                     ; +0xd, 0x18001953d\ncall    qword ptr [rax+8]                                              ; +0x10, 0x180019540\ncmp     byte ptr [rbx+70h], 0                                          ; +0x13, 0x180019543\njnz     short loc_180019563                                            ; +0x17, 0x180019547\nnop     dword ptr [rax+00000000h]                                      ; +0x19, 0x180019549\nmov     rcx, [rbx+68h]                                                 ; +0x20, 0x180019550\nmov     rax, [rcx]                                                     ; +0x24, 0x180019554\ncall    qword ptr [rax+10h]                                            ; +0x27, 0x180019557\ntest    eax, eax                                                       ; +0x2a, 0x18001955a\njnz     short loc_180019563                                            ; +0x2c, 0x18001955c\ncmp     [rbx+70h], al                                                  ; +0x2e, 0x18001955e\njz      short loc_180019550                                            ; +0x31, 0x180019561\nmov     rcx, [rbx+68h]                                                 ; +0x33, 0x180019563\nmov     rax, [rcx]                                                     ; +0x37, 0x180019567\ncall    qword ptr [rax+18h]                                            ; +0x3a, 0x18001956a\nxor     eax, eax                                                       ; +0x3d, 0x18001956d\nadd     rsp, 20h                                                       ; +0x3f, 0x18001956f\npop     rbx                                                            ; +0x43, 0x180019573\nretn                                                                   ; +0x44, 0x180019574", "xrefs": ["cocos2d::extension::WebSocket::init @ 0x180019fc7", "<???> @ 0x18004cba8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}