{"type": "func", "start": 5369682976, "end": 5369683291, "name": "MemberListPopup::pickerRowState", "pseudocode": "// \n// MemberListPopup::pickerRowState from 0x1400edc20 to 0x1400edd5b (315 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1407292c0\n// > <???> @ 0x140915014\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:35 +0000\n// \n\n// Hidden C++ exception states: #wind=2\n__int64 __fastcall MemberListPopup::pickerRowState(__int64 a1, int a2)\n{\n  __int64 v4; // rcx\n  cocos2d::CCArray *ThreadMembers; // rdi\n  signed int i; // ebx\n  signed int v7; // eax\n  __int64 v9; // rcx\n  cocos2d::CCArray *ThreadPendingInvites; // rdi\n  signed int j; // ebx\n  signed int v12; // eax\n  void *v13; // [rsp+30h] [rbp+8h]\n  void *v14; // [rsp+30h] [rbp+8h]\n\n  v4 = *(_QWORD *)&qword_14090BFB0;\n  if ( !*(_QWORD *)&qword_14090BFB0 )\n  {\n    v13 = operator new(0x690u);\n    *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v13);\n    (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n    v4 = *(_QWORD *)&qword_14090BFB0;\n  }\n  ThreadMembers = (cocos2d::CCArray *)GameLevelManager::getThreadMembers(\n                                        v4,\n                                        *(unsigned int *)(*(_QWORD *)(a1 + 16) + 56LL));\n  for ( i = 0; ; ++i )\n  {\n    v7 = ThreadMembers ? cocos2d::CCArray::count(ThreadMembers) : 0;\n    if ( i >= v7 )\n      break;\n    if ( *((_DWORD *)cocos2d::CCArray::objectAtIndex(ThreadMembers, i) + 98) == a2 )\n      return 1;\n  }\n  v9 = *(_QWORD *)&qword_14090BFB0;\n  if ( !*(_QWORD *)&qword_14090BFB0 )\n  {\n    v14 = operator new(0x690u);\n    *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v14);\n    (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n    v9 = *(_QWORD *)&qword_14090BFB0;\n  }\n  ThreadPendingInvites = (cocos2d::CCArray *)GameLevelManager::getThreadPendingInvites(\n                                               v9,\n                                               *(unsigned int *)(*(_QWORD *)(a1 + 16) + 56LL));\n  for ( j = 0; ; ++j )\n  {\n    v12 = ThreadPendingInvites ? cocos2d::CCArray::count(ThreadPendingInvites) : 0;\n    if ( j >= v12 )\n      break;\n    if ( *((_DWORD *)cocos2d::CCArray::objectAtIndex(ThreadPendingInvites, j) + 98) == a2 )\n      return 2;\n  }\n  return 0;\n}", "assembly": "; \n; MemberListPopup::pickerRowState from 0x1400edc20 to 0x1400edd5b (315 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1407292c0\n; > <???> @ 0x140915014\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:35 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1400edc20\nmov     [rsp+arg_10], rbp                                              ; +0x5, 0x1400edc25\nmov     [rsp+arg_18], rsi                                              ; +0xa, 0x1400edc2a\npush    rdi                                                            ; +0xf, 0x1400edc2f\nsub     rsp, 20h                                                       ; +0x10, 0x1400edc30\nmov     esi, edx                                                       ; +0x14, 0x1400edc34\nmov     rbp, rcx                                                       ; +0x16, 0x1400edc36\nmov     rcx, cs:qword_14090BFB0                                        ; +0x19, 0x1400edc39\ntest    rcx, rcx                                                       ; +0x20, 0x1400edc40\njnz     short loc_1400EDC77                                            ; +0x23, 0x1400edc43\nmov     ecx, 690h; Size                                                ; +0x25, 0x1400edc45\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2a, 0x1400edc4a\nmov     [rsp+28h+arg_0], rax                                           ; +0x2f, 0x1400edc4f\nmov     rcx, rax                                                       ; +0x34, 0x1400edc54\ncall    GameLevelManager__GameLevelManager                             ; +0x37, 0x1400edc57\nnop                                                                    ; +0x3c, 0x1400edc5c\nmov     cs:qword_14090BFB0, rax                                        ; +0x3d, 0x1400edc5d\nmov     rcx, [rax]                                                     ; +0x44, 0x1400edc64\nmov     rdx, [rcx+48h]                                                 ; +0x47, 0x1400edc67\nmov     rcx, rax                                                       ; +0x4b, 0x1400edc6b\ncall    rdx                                                            ; +0x4e, 0x1400edc6e\nmov     rcx, cs:qword_14090BFB0                                        ; +0x50, 0x1400edc70\nmov     rdx, [rbp+10h]                                                 ; +0x57, 0x1400edc77\nmov     edx, [rdx+38h]                                                 ; +0x5b, 0x1400edc7b\ncall    GameLevelManager__getThreadMembers                             ; +0x5e, 0x1400edc7e\nmov     rdi, rax                                                       ; +0x63, 0x1400edc83\nxor     ebx, ebx                                                       ; +0x66, 0x1400edc86\ntest    rdi, rdi                                                       ; +0x68, 0x1400edc88\njz      short loc_1400EDC98                                            ; +0x6b, 0x1400edc8b\nmov     rcx, rdi                                                       ; +0x6d, 0x1400edc8d\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x70, 0x1400edc90\njmp     short loc_1400EDC9A                                            ; +0x76, 0x1400edc96\nxor     eax, eax                                                       ; +0x78, 0x1400edc98\ncmp     ebx, eax                                                       ; +0x7a, 0x1400edc9a\njge     short loc_1400EDCBF                                            ; +0x7c, 0x1400edc9c\nmov     edx, ebx                                                       ; +0x7e, 0x1400edc9e\nmov     rcx, rdi                                                       ; +0x80, 0x1400edca0\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x83, 0x1400edca3\ncmp     [rax+188h], esi                                                ; +0x89, 0x1400edca9\njz      short loc_1400EDCB5                                            ; +0x8f, 0x1400edcaf\ninc     ebx                                                            ; +0x91, 0x1400edcb1\njmp     short loc_1400EDC88                                            ; +0x93, 0x1400edcb3\nmov     eax, 1                                                         ; +0x95, 0x1400edcb5\njmp     loc_1400EDD46                                                  ; +0x9a, 0x1400edcba\nmov     rcx, cs:qword_14090BFB0                                        ; +0x9f, 0x1400edcbf\ntest    rcx, rcx                                                       ; +0xa6, 0x1400edcc6\njnz     short loc_1400EDCFD                                            ; +0xa9, 0x1400edcc9\nmov     ecx, 690h; Size                                                ; +0xab, 0x1400edccb\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xb0, 0x1400edcd0\nmov     [rsp+28h+arg_0], rax                                           ; +0xb5, 0x1400edcd5\nmov     rcx, rax                                                       ; +0xba, 0x1400edcda\ncall    GameLevelManager__GameLevelManager                             ; +0xbd, 0x1400edcdd\nnop                                                                    ; +0xc2, 0x1400edce2\nmov     cs:qword_14090BFB0, rax                                        ; +0xc3, 0x1400edce3\nmov     rcx, [rax]                                                     ; +0xca, 0x1400edcea\nmov     rdx, [rcx+48h]                                                 ; +0xcd, 0x1400edced\nmov     rcx, rax                                                       ; +0xd1, 0x1400edcf1\ncall    rdx                                                            ; +0xd4, 0x1400edcf4\nmov     rcx, cs:qword_14090BFB0                                        ; +0xd6, 0x1400edcf6\nmov     rdx, [rbp+10h]                                                 ; +0xdd, 0x1400edcfd\nmov     edx, [rdx+38h]                                                 ; +0xe1, 0x1400edd01\ncall    GameLevelManager__getThreadPendingInvites                      ; +0xe4, 0x1400edd04\nmov     rdi, rax                                                       ; +0xe9, 0x1400edd09\nxor     ebx, ebx                                                       ; +0xec, 0x1400edd0c\nxchg    ax, ax                                                         ; +0xee, 0x1400edd0e\ntest    rdi, rdi                                                       ; +0xf0, 0x1400edd10\njz      short loc_1400EDD20                                            ; +0xf3, 0x1400edd13\nmov     rcx, rdi                                                       ; +0xf5, 0x1400edd15\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xf8, 0x1400edd18\njmp     short loc_1400EDD22                                            ; +0xfe, 0x1400edd1e\nxor     eax, eax                                                       ; +0x100, 0x1400edd20\ncmp     ebx, eax                                                       ; +0x102, 0x1400edd22\njge     short loc_1400EDD44                                            ; +0x104, 0x1400edd24\nmov     edx, ebx                                                       ; +0x106, 0x1400edd26\nmov     rcx, rdi                                                       ; +0x108, 0x1400edd28\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x10b, 0x1400edd2b\ncmp     [rax+188h], esi                                                ; +0x111, 0x1400edd31\njz      short loc_1400EDD3D                                            ; +0x117, 0x1400edd37\ninc     ebx                                                            ; +0x119, 0x1400edd39\njmp     short loc_1400EDD10                                            ; +0x11b, 0x1400edd3b\nmov     eax, 2                                                         ; +0x11d, 0x1400edd3d\njmp     short loc_1400EDD46                                            ; +0x122, 0x1400edd42\nxor     eax, eax                                                       ; +0x124, 0x1400edd44\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x126, 0x1400edd46\nmov     rbp, [rsp+28h+arg_10]                                          ; +0x12b, 0x1400edd4b\nmov     rsi, [rsp+28h+arg_18]                                          ; +0x130, 0x1400edd50\nadd     rsp, 20h                                                       ; +0x135, 0x1400edd55\npop     rdi                                                            ; +0x139, 0x1400edd59\nretn                                                                   ; +0x13a, 0x1400edd5a", "xrefs": ["<???> @ 0x1407292c0", "<???> @ 0x140915014"], "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"}