{"type": "func", "start": 6442536368, "end": 6442536478, "name": "cocos2d::extension::CCTableView::cellAtIndex", "pseudocode": "// \n// cocos2d::extension::CCTableView::cellAtIndex from 0x180014db0 to 0x180014e1e (110 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x180032408\n// > <???> @ 0x18004c674\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:41 +0000\n// \n\nstruct cocos2d::extension::CCTableViewCell *__fastcall cocos2d::extension::CCTableView::cellAtIndex(\n        cocos2d::extension::CCTableView *this,\n        unsigned int a2)\n{\n  __int64 *v2; // rax\n  __int64 *v3; // r9\n  __int64 *i; // r8\n  struct cocos2d::extension::CCSortableObject *v5; // rax\n\n  v2 = **((__int64 ***)this + 74);\n  v3 = v2;\n  for ( i = (__int64 *)v2[1]; !*((_BYTE *)i + 25); i = (__int64 *)*i )\n  {\n    if ( *((_DWORD *)i + 7) >= a2 )\n      v3 = i;\n    else\n      i += 2;\n  }\n  if ( *((_BYTE *)v3 + 25) )\n    return nullptr;\n  if ( a2 < *((_DWORD *)v3 + 7) )\n    return nullptr;\n  if ( v3 == v2 )\n    return nullptr;\n  v5 = cocos2d::extension::CCArrayForObjectSorting::objectWithObjectID(\n         *((cocos2d::extension::CCArrayForObjectSorting **)this + 78),\n         a2);\n  if ( !v5 )\n    return nullptr;\n  else\n    return (struct cocos2d::extension::CCSortableObject *)((char *)v5 - 320);\n}", "assembly": "; \n; cocos2d::extension::CCTableView::cellAtIndex from 0x180014db0 to 0x180014e1e (110 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x180032408\n; > <???> @ 0x18004c674\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:41 +0000\n; \nsub     rsp, 28h                                                       ; +0x0, 0x180014db0\nmov     rax, [rcx+250h]                                                ; +0x4, 0x180014db4\nmov     rax, [rax]                                                     ; +0xb, 0x180014dbb\nmov     r9, rax                                                        ; +0xe, 0x180014dbe\nmov     r8, [rax+8]                                                    ; +0x11, 0x180014dc1\ncmp     byte ptr [r8+19h], 0                                           ; +0x15, 0x180014dc5\njnz     short loc_180014DE9                                            ; +0x1a, 0x180014dca\nnop     dword ptr [rax+00h]                                            ; +0x1c, 0x180014dcc\ncmp     [r8+1Ch], edx                                                  ; +0x20, 0x180014dd0\njnb     short loc_180014DDC                                            ; +0x24, 0x180014dd4\nadd     r8, 10h                                                        ; +0x26, 0x180014dd6\njmp     short loc_180014DDF                                            ; +0x2a, 0x180014dda\nmov     r9, r8                                                         ; +0x2c, 0x180014ddc\nmov     r8, [r8]                                                       ; +0x2f, 0x180014ddf\ncmp     byte ptr [r8+19h], 0                                           ; +0x32, 0x180014de2\njz      short loc_180014DD0                                            ; +0x37, 0x180014de7\ncmp     byte ptr [r9+19h], 0                                           ; +0x39, 0x180014de9\njnz     short loc_180014E17                                            ; +0x3e, 0x180014dee\ncmp     edx, [r9+1Ch]                                                  ; +0x40, 0x180014df0\njb      short loc_180014E17                                            ; +0x44, 0x180014df4\ncmp     r9, rax                                                        ; +0x46, 0x180014df6\njz      short loc_180014E17                                            ; +0x49, 0x180014df9\nmov     rcx, [rcx+270h]; this                                          ; +0x4b, 0x180014dfb\ncall    ?objectWithObjectID@CCArrayForObjectSorting@extension@cocos2d@@QEAAPEAVCCSortableObject@23@I@Z; cocos2d::extension::CCArrayForObjectSorting::objectWithObjectID(uint) ; +0x52, 0x180014e02\ntest    rax, rax                                                       ; +0x57, 0x180014e07\njz      short loc_180014E17                                            ; +0x5a, 0x180014e0a\nadd     rax, 0FFFFFFFFFFFFFEC0h                                        ; +0x5c, 0x180014e0c\nadd     rsp, 28h                                                       ; +0x62, 0x180014e12\nretn                                                                   ; +0x66, 0x180014e16\nxor     eax, eax                                                       ; +0x67, 0x180014e17\nadd     rsp, 28h                                                       ; +0x69, 0x180014e19\nretn                                                                   ; +0x6d, 0x180014e1d", "xrefs": ["<???> @ 0x180032408", "<???> @ 0x18004c674"], "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"}