{"type": "func", "start": 6442537520, "end": 6442537630, "name": "cocos2d::extension::CCTableView::cellAtIndex", "pseudocode": "// \n// cocos2d::extension::CCTableView::cellAtIndex from 0x180015230 to 0x18001529e (110 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18002fdf8\n// > <???> @ 0x18004a758\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\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 *v4; // r8\n  struct cocos2d::extension::CCSortableObject *v5; // rax\n\n  v2 = **((__int64 ***)this + 74);\n  v3 = v2;\n  v4 = (__int64 *)v2[1];\n  while ( !*((_BYTE *)v4 + 25) )\n  {\n    if ( *((_DWORD *)v4 + 7) >= a2 )\n    {\n      v3 = v4;\n      v4 = (__int64 *)*v4;\n    }\n    else\n    {\n      v4 = (__int64 *)v4[2];\n    }\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 0x180015230 to 0x18001529e (110 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18002fdf8\n; > <???> @ 0x18004a758\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nsub     rsp, 28h                                                       ; +0x0, 0x180015230\nmov     rax, [rcx+250h]                                                ; +0x4, 0x180015234\nmov     rax, [rax]                                                     ; +0xb, 0x18001523b\nmov     r9, rax                                                        ; +0xe, 0x18001523e\nmov     r8, [rax+8]                                                    ; +0x11, 0x180015241\ncmp     byte ptr [r8+19h], 0                                           ; +0x15, 0x180015245\njnz     short loc_180015269                                            ; +0x1a, 0x18001524a\nnop     dword ptr [rax+00h]                                            ; +0x1c, 0x18001524c\ncmp     [r8+1Ch], edx                                                  ; +0x20, 0x180015250\njnb     short loc_18001525C                                            ; +0x24, 0x180015254\nmov     r8, [r8+10h]                                                   ; +0x26, 0x180015256\njmp     short loc_180015262                                            ; +0x2a, 0x18001525a\nmov     r9, r8                                                         ; +0x2c, 0x18001525c\nmov     r8, [r8]                                                       ; +0x2f, 0x18001525f\ncmp     byte ptr [r8+19h], 0                                           ; +0x32, 0x180015262\njz      short loc_180015250                                            ; +0x37, 0x180015267\ncmp     byte ptr [r9+19h], 0                                           ; +0x39, 0x180015269\njnz     short loc_180015297                                            ; +0x3e, 0x18001526e\ncmp     edx, [r9+1Ch]                                                  ; +0x40, 0x180015270\njb      short loc_180015297                                            ; +0x44, 0x180015274\ncmp     r9, rax                                                        ; +0x46, 0x180015276\njz      short loc_180015297                                            ; +0x49, 0x180015279\nmov     rcx, [rcx+270h]; this                                          ; +0x4b, 0x18001527b\ncall    ?objectWithObjectID@CCArrayForObjectSorting@extension@cocos2d@@QEAAPEAVCCSortableObject@23@I@Z; cocos2d::extension::CCArrayForObjectSorting::objectWithObjectID(uint) ; +0x52, 0x180015282\ntest    rax, rax                                                       ; +0x57, 0x180015287\njz      short loc_180015297                                            ; +0x5a, 0x18001528a\nadd     rax, 0FFFFFFFFFFFFFEC0h                                        ; +0x5c, 0x18001528c\nadd     rsp, 28h                                                       ; +0x62, 0x180015292\nretn                                                                   ; +0x66, 0x180015296\nxor     eax, eax                                                       ; +0x67, 0x180015297\nadd     rsp, 28h                                                       ; +0x69, 0x180015299\nretn                                                                   ; +0x6d, 0x18001529d", "xrefs": ["<???> @ 0x18002fdf8", "<???> @ 0x18004a758"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}