{"type": "func", "start": 5369707536, "end": 5369707768, "name": "NewThreadPopup::threadSendFailed", "pseudocode": "// \n// NewThreadPopup::threadSendFailed from 0x1400f3c10 to 0x1400f3cf8 (232 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14072a250\n// > <???> @ 0x140915188\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 11:26:37 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nvoid __fastcall NewThreadPopup::threadSendFailed(__int64 a1)\n{\n  __int64 v1; // rcx\n  __int64 *v2; // rdi\n  __int64 v3; // rbx\n  __int64 v4; // rdx\n  __int64 v5; // r8\n  __int64 v6; // rax\n  _DWORD v7[4]; // [rsp+30h] [rbp-48h] BYREF\n  __int64 v8; // [rsp+40h] [rbp-38h]\n  __int64 v9; // [rsp+48h] [rbp-30h]\n  __int128 v10; // [rsp+50h] [rbp-28h] BYREF\n  __int64 v11; // [rsp+60h] [rbp-18h]\n  __int64 v12; // [rsp+68h] [rbp-10h]\n\n  NewThreadPopup::setSendPending(a1 - 664, 0);\n  if ( !byte_1409097D9 )\n  {\n    v2 = *(__int64 **)(cocos2d::CCDirector::sharedDirector(v1) + 272);\n    v10 = 0;\n    v11 = 0;\n    v12 = 15;\n    LOBYTE(v10) = 0;\n    v7[3] = 0;\n    v8 = 11;\n    v9 = 15;\n    strcpy((char *)v7, \"Send failed\");\n    v3 = *v2;\n    v6 = TextAlertPopup::create(v7, v4, v5, 150, &v10);\n    (*(void (__fastcall **)(__int64 *, __int64, __int64))(v3 + 456))(v2, v6, 1000);\n  }\n}", "assembly": "; \n; NewThreadPopup::threadSendFailed from 0x1400f3c10 to 0x1400f3cf8 (232 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14072a250\n; > <???> @ 0x140915188\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 11:26:37 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1400f3c10\npush    rdi                                                            ; +0x5, 0x1400f3c15\nsub     rsp, 70h                                                       ; +0x6, 0x1400f3c16\nadd     rcx, 0FFFFFFFFFFFFFD68h                                        ; +0xa, 0x1400f3c1a\nxor     edx, edx                                                       ; +0x11, 0x1400f3c21\ncall    NewThreadPopup__setSendPending                                 ; +0x13, 0x1400f3c23\ncmp     cs:byte_1409097D9, 0                                           ; +0x18, 0x1400f3c28\njnz     loc_1400F3CEA                                                  ; +0x1f, 0x1400f3c2f\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x25, 0x1400f3c35\nmov     rdi, [rax+110h]                                                ; +0x2b, 0x1400f3c3b\nlea     rax, [rsp+78h+var_28]                                          ; +0x32, 0x1400f3c42\nmov     [rsp+78h+arg_0], rax                                           ; +0x37, 0x1400f3c47\nxorps   xmm0, xmm0                                                     ; +0x3f, 0x1400f3c4f\nmovups  [rsp+78h+var_28], xmm0                                         ; +0x42, 0x1400f3c52\nxor     eax, eax                                                       ; +0x47, 0x1400f3c57\nmov     [rsp+78h+var_18], rax                                          ; +0x49, 0x1400f3c59\nmov     [rsp+78h+var_10], 0Fh                                          ; +0x4e, 0x1400f3c5e\nmov     byte ptr [rsp+78h+var_28], al                                  ; +0x57, 0x1400f3c67\nmov     dword ptr [rsp+78h+var_48+0Ch], eax                            ; +0x5b, 0x1400f3c6b\nmov     [rsp+78h+var_38], 0Bh                                          ; +0x5f, 0x1400f3c6f\nmov     [rsp+78h+var_30], 0Fh                                          ; +0x68, 0x1400f3c78\nmovsd   xmm0, cs:qword_140727020                                       ; +0x71, 0x1400f3c81\nmovsd   qword ptr [rsp+78h+var_48], xmm0                               ; +0x79, 0x1400f3c89\nmovzx   eax, cs:word_140727028                                         ; +0x7f, 0x1400f3c8f\nmov     word ptr [rsp+78h+var_48+8], ax                                ; +0x86, 0x1400f3c96\nmovzx   eax, cs:byte_14072702A                                         ; +0x8b, 0x1400f3c9b\nmov     [rsp+78h+var_48+0Ah], al                                       ; +0x92, 0x1400f3ca2\nmov     [rsp+78h+var_48+0Bh], 0                                        ; +0x96, 0x1400f3ca6\nmov     rbx, [rdi]                                                     ; +0x9b, 0x1400f3cab\nlea     rax, [rsp+78h+var_28]                                          ; +0x9e, 0x1400f3cae\nmov     [rsp+78h+var_58], rax                                          ; +0xa3, 0x1400f3cb3\nmov     r9d, 96h                                                       ; +0xa8, 0x1400f3cb8\nmovss   xmm2, cs:dword_140834F64                                       ; +0xae, 0x1400f3cbe\nmovss   xmm1, cs:dword_140834F20                                       ; +0xb6, 0x1400f3cc6\nlea     rcx, [rsp+78h+var_48]                                          ; +0xbe, 0x1400f3cce\ncall    TextAlertPopup__create                                         ; +0xc3, 0x1400f3cd3\nmov     rdx, rax                                                       ; +0xc8, 0x1400f3cd8\nmov     r8d, 3E8h                                                      ; +0xcb, 0x1400f3cdb\nmov     rcx, rdi                                                       ; +0xd1, 0x1400f3ce1\ncall    qword ptr [rbx+1C8h]                                           ; +0xd4, 0x1400f3ce4\nmov     rbx, [rsp+78h+arg_8]                                           ; +0xda, 0x1400f3cea\nadd     rsp, 70h                                                       ; +0xe2, 0x1400f3cf2\npop     rdi                                                            ; +0xe6, 0x1400f3cf6\nretn                                                                   ; +0xe7, 0x1400f3cf7", "xrefs": ["<???> @ 0x14072a250", "<???> @ 0x140915188"], "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"}