{"type": "func", "start": 5369186640, "end": 5369186778, "name": "TableView::isDuplicateInVisibleCellArray", "pseudocode": "// \n// TableView::isDuplicateInVisibleCellArray from 0x140074950 to 0x1400749da (138 bytes)\n// \n// 4 xrefs:\n// > TableView::checkBoundaryOfContent @ 0x140075fa4\n// > TableView::checkFirstCell @ 0x140076494\n// > TableView::checkLastCell @ 0x140076740\n// > <???> @ 0x1406c6390\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\nbool TableView::isDuplicateInVisibleCellArray(TableView *a1, CCIndexPath *a2)\n{\n  cocos2d::CCArray *m_cellArray; // rcx\n  unsigned int v5; // ebx\n  struct cocos2d::CCObject *v6; // rax\n\n  m_cellArray = a1->m_cellArray;\n  if ( m_cellArray && cocos2d::CCArray::count(m_cellArray) && (v5 = 0, cocos2d::CCArray::count(a1->m_cellArray)) )\n  {\n    while ( 1 )\n    {\n      v6 = cocos2d::CCArray::objectAtIndex(a1->m_cellArray, v5);\n      if ( v6[8].m_uUnknown == a2->m_section && v6[8].m_uIndexInArray == a2->m_row )\n        break;\n      if ( ++v5 >= cocos2d::CCArray::count(a1->m_cellArray) )\n        goto LABEL_7;\n    }\n  }\n  else\n  {\nLABEL_7:\n    LOBYTE(v6) = 0;\n  }\n  return (char)v6;\n}", "assembly": "; \n; TableView::isDuplicateInVisibleCellArray from 0x140074950 to 0x1400749da (138 bytes)\n; \n; 4 xrefs:\n; > TableView::checkBoundaryOfContent @ 0x140075fa4\n; > TableView::checkFirstCell @ 0x140076494\n; > TableView::checkLastCell @ 0x140076740\n; > <???> @ 0x1406c6390\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140074950\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x140074955\npush    rdi                                                            ; +0xa, 0x14007495a\nsub     rsp, 20h                                                       ; +0xb, 0x14007495b\nmov     rdi, rcx                                                       ; +0xf, 0x14007495f\nmov     rsi, rdx                                                       ; +0x12, 0x140074962\nmov     rcx, [rcx+238h]                                                ; +0x15, 0x140074965\ntest    rcx, rcx                                                       ; +0x1c, 0x14007496c\njz      short loc_1400749C8                                            ; +0x1f, 0x14007496f\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x21, 0x140074971\ntest    eax, eax                                                       ; +0x27, 0x140074977\njz      short loc_1400749C8                                            ; +0x29, 0x140074979\nmov     rcx, [rdi+238h]                                                ; +0x2b, 0x14007497b\nxor     ebx, ebx                                                       ; +0x32, 0x140074982\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x34, 0x140074984\ntest    eax, eax                                                       ; +0x3a, 0x14007498a\njz      short loc_1400749C8                                            ; +0x3c, 0x14007498c\nxchg    ax, ax                                                         ; +0x3e, 0x14007498e\nmov     rcx, [rdi+238h]                                                ; +0x40, 0x140074990\nmov     edx, ebx                                                       ; +0x47, 0x140074997\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x49, 0x140074999\nmov     ecx, [rsi+3Ch]                                                 ; +0x4f, 0x14007499f\ncmp     [rax+1E4h], ecx                                                ; +0x52, 0x1400749a2\njnz     short loc_1400749B5                                            ; +0x58, 0x1400749a8\nmov     ecx, [rsi+38h]                                                 ; +0x5a, 0x1400749aa\ncmp     [rax+1E0h], ecx                                                ; +0x5d, 0x1400749ad\njz      short loc_1400749CA                                            ; +0x63, 0x1400749b3\nmov     rcx, [rdi+238h]                                                ; +0x65, 0x1400749b5\ninc     ebx                                                            ; +0x6c, 0x1400749bc\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x6e, 0x1400749be\ncmp     ebx, eax                                                       ; +0x74, 0x1400749c4\njb      short loc_140074990                                            ; +0x76, 0x1400749c6\nxor     eax, eax                                                       ; +0x78, 0x1400749c8\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x7a, 0x1400749ca\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x7f, 0x1400749cf\nadd     rsp, 20h                                                       ; +0x84, 0x1400749d4\npop     rdi                                                            ; +0x88, 0x1400749d8\nretn                                                                   ; +0x89, 0x1400749d9", "xrefs": ["TableView::checkBoundaryOfContent @ 0x140075fa4", "TableView::checkFirstCell @ 0x140076494", "TableView::checkLastCell @ 0x140076740", "<???> @ 0x1406c6390"], "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"}