{"type": "func", "start": 5369698848, "end": 5369698968, "name": "NewThreadPopup::isRecipientSelected", "pseudocode": "// \n// NewThreadPopup::isRecipientSelected from 0x1400f1a20 to 0x1400f1a98 (120 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14072cda8\n// > <???> @ 0x140915134\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:36 +0000\n// \n\nchar __fastcall NewThreadPopup::isRecipientSelected(__int64 a1, int a2)\n{\n  cocos2d::CCArray *v4; // rcx\n  unsigned int v5; // ebx\n\n  v4 = *(cocos2d::CCArray **)(a1 + 64);\n  if ( !v4 )\n    return 0;\n  v5 = 0;\n  if ( (int)cocos2d::CCArray::count(v4) <= 0 )\n    return 0;\n  while ( *((_DWORD *)cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 64), v5) + 98) != a2 )\n  {\n    if ( (int)++v5 >= (int)cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 64)) )\n      return 0;\n  }\n  return 1;\n}", "assembly": "; \n; NewThreadPopup::isRecipientSelected from 0x1400f1a20 to 0x1400f1a98 (120 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14072cda8\n; > <???> @ 0x140915134\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:36 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1400f1a20\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1400f1a25\npush    rdi                                                            ; +0xa, 0x1400f1a2a\nsub     rsp, 20h                                                       ; +0xb, 0x1400f1a2b\nmov     rdi, rcx                                                       ; +0xf, 0x1400f1a2f\nmov     esi, edx                                                       ; +0x12, 0x1400f1a32\nmov     rcx, [rcx+40h]                                                 ; +0x14, 0x1400f1a34\ntest    rcx, rcx                                                       ; +0x18, 0x1400f1a38\njz      short loc_1400F1A74                                            ; +0x1b, 0x1400f1a3b\nxor     ebx, ebx                                                       ; +0x1d, 0x1400f1a3d\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1f, 0x1400f1a3f\ntest    eax, eax                                                       ; +0x25, 0x1400f1a45\njle     short loc_1400F1A74                                            ; +0x27, 0x1400f1a47\nnop     dword ptr [rax+00000000h]                                      ; +0x29, 0x1400f1a49\nmov     rcx, [rdi+40h]                                                 ; +0x30, 0x1400f1a50\nmov     edx, ebx                                                       ; +0x34, 0x1400f1a54\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x36, 0x1400f1a56\ncmp     [rax+188h], esi                                                ; +0x3c, 0x1400f1a5c\njz      short loc_1400F1A86                                            ; +0x42, 0x1400f1a62\nmov     rcx, [rdi+40h]                                                 ; +0x44, 0x1400f1a64\ninc     ebx                                                            ; +0x48, 0x1400f1a68\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x4a, 0x1400f1a6a\ncmp     ebx, eax                                                       ; +0x50, 0x1400f1a70\njl      short loc_1400F1A50                                            ; +0x52, 0x1400f1a72\nxor     al, al                                                         ; +0x54, 0x1400f1a74\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x56, 0x1400f1a76\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x5b, 0x1400f1a7b\nadd     rsp, 20h                                                       ; +0x60, 0x1400f1a80\npop     rdi                                                            ; +0x64, 0x1400f1a84\nretn                                                                   ; +0x65, 0x1400f1a85\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x66, 0x1400f1a86\nmov     al, 1                                                          ; +0x6b, 0x1400f1a8b\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x6d, 0x1400f1a8d\nadd     rsp, 20h                                                       ; +0x72, 0x1400f1a92\npop     rdi                                                            ; +0x76, 0x1400f1a96\nretn                                                                   ; +0x77, 0x1400f1a97", "xrefs": ["<???> @ 0x14072cda8", "<???> @ 0x140915134"], "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"}