{"type": "func", "start": 5369191328, "end": 5369191608, "name": "TableView::checkBoundaryOfCell_1", "pseudocode": "// \n// TableView::checkBoundaryOfCell_1 from 0x140075ba0 to 0x140075cb8 (280 bytes)\n// \n// 3 xrefs:\n// > TableView::checkFirstCell @ 0x14007639b\n// > TableView::checkLastCell @ 0x140076667\n// > <???> @ 0x1406c6480\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\nint TableView::checkBoundaryOfCell_1(TableView *a1, TableViewCell *a2)\n{\n  const struct cocos2d::CCPoint *v4; // rax\n  const cocos2d::CCSize *v5; // rax\n  float v6; // xmm8_4\n  float v7; // xmm8_4\n  float v8; // xmm8_4\n  const cocos2d::CCSize *v9; // rax\n  float v10; // xmm6_4\n  float v11; // xmm6_4\n  cocos2d::CCPoint v13; // [rsp+60h] [rbp+8h] BYREF\n\n  v4 = a2->getPosition_0(a2);\n  cocos2d::CCPoint::CCPoint(&v13, v4);\n  v5 = a2->getContentSize(a2);\n  v6 = v13.y + v5->height;\n  v7 = v6 - a1->m_contentLayer->getContentSize(a1->m_contentLayer)->height;\n  v8 = v7 + a1->m_contentLayer->getPosition_0(a1->m_contentLayer)->y;\n  v9 = a1->m_contentLayer->getContentSize(a1->m_contentLayer);\n  v10 = v13.y - v9->height;\n  v11 = v10 + a1->m_contentLayer->getPosition_0(a1->m_contentLayer)->y;\n  if ( a1->getContentSize(a1)->height >= v8 && v8 >= 0.0 )\n    return 2;\n  if ( a1->getContentSize(a1)->height < v11 )\n    return 1;\n  return (v11 >= 0.0) + 1;\n}", "assembly": "; \n; TableView::checkBoundaryOfCell_1 from 0x140075ba0 to 0x140075cb8 (280 bytes)\n; \n; 3 xrefs:\n; > TableView::checkFirstCell @ 0x14007639b\n; > TableView::checkLastCell @ 0x140076667\n; > <???> @ 0x1406c6480\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_8], rbx                                               ; +0x0, 0x140075ba0\npush    rdi                                                            ; +0x5, 0x140075ba5\nsub     rsp, 50h                                                       ; +0x6, 0x140075ba6\nmov     rax, [rdx]                                                     ; +0xa, 0x140075baa\nmov     rdi, rcx                                                       ; +0xd, 0x140075bad\nmovaps  [rsp+58h+var_18], xmm6                                         ; +0x10, 0x140075bb0\nmov     rcx, rdx                                                       ; +0x15, 0x140075bb5\nmovaps  [rsp+58h+var_28], xmm7                                         ; +0x18, 0x140075bb8\nmov     rbx, rdx                                                       ; +0x1d, 0x140075bbd\nmovaps  [rsp+58h+var_38], xmm8                                         ; +0x20, 0x140075bc0\ncall    qword ptr [rax+0C8h]                                           ; +0x26, 0x140075bc6\nmov     rdx, rax                                                       ; +0x2c, 0x140075bcc\nlea     rcx, [rsp+58h+arg_0]                                           ; +0x2f, 0x140075bcf\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x34, 0x140075bd4\nmov     rax, [rbx]                                                     ; +0x3a, 0x140075bda\nmov     rcx, rbx                                                       ; +0x3d, 0x140075bdd\ncall    qword ptr [rax+130h]                                           ; +0x40, 0x140075be0\nmov     rcx, [rdi+1D8h]                                                ; +0x46, 0x140075be6\nmovss   xmm8, [rsp+58h+arg_4]                                          ; +0x4d, 0x140075bed\naddss   xmm8, dword ptr [rax+4]                                        ; +0x54, 0x140075bf4\nmov     rax, [rcx]                                                     ; +0x5a, 0x140075bfa\ncall    qword ptr [rax+130h]                                           ; +0x5d, 0x140075bfd\nmov     rcx, [rdi+1D8h]                                                ; +0x63, 0x140075c03\nsubss   xmm8, dword ptr [rax+4]                                        ; +0x6a, 0x140075c0a\nmov     rax, [rcx]                                                     ; +0x70, 0x140075c10\ncall    qword ptr [rax+0C8h]                                           ; +0x73, 0x140075c13\nmov     rcx, [rdi+1D8h]                                                ; +0x79, 0x140075c19\naddss   xmm8, dword ptr [rax+4]                                        ; +0x80, 0x140075c20\nmov     rax, [rcx]                                                     ; +0x86, 0x140075c26\ncall    qword ptr [rax+130h]                                           ; +0x89, 0x140075c29\nmov     rcx, [rdi+1D8h]                                                ; +0x8f, 0x140075c2f\nmovss   xmm6, [rsp+58h+arg_4]                                          ; +0x96, 0x140075c36\nsubss   xmm6, dword ptr [rax+4]                                        ; +0x9c, 0x140075c3c\nmov     rax, [rcx]                                                     ; +0xa1, 0x140075c41\ncall    qword ptr [rax+0C8h]                                           ; +0xa4, 0x140075c44\nmov     rcx, rdi                                                       ; +0xaa, 0x140075c4a\naddss   xmm6, dword ptr [rax+4]                                        ; +0xad, 0x140075c4d\nmov     rax, [rdi]                                                     ; +0xb2, 0x140075c52\ncall    qword ptr [rax+130h]                                           ; +0xb5, 0x140075c55\nxorps   xmm7, xmm7                                                     ; +0xbb, 0x140075c5b\nmovss   xmm0, dword ptr [rax+4]                                        ; +0xbe, 0x140075c5e\ncomiss  xmm0, xmm8                                                     ; +0xc3, 0x140075c63\njb      short loc_140075C76                                            ; +0xc7, 0x140075c67\ncomiss  xmm8, xmm7                                                     ; +0xc9, 0x140075c69\njb      short loc_140075C76                                            ; +0xcd, 0x140075c6d\nmov     eax, 2                                                         ; +0xcf, 0x140075c6f\njmp     short loc_140075C9D                                            ; +0xd4, 0x140075c74\nmov     rax, [rdi]                                                     ; +0xd6, 0x140075c76\nmov     rcx, rdi                                                       ; +0xd9, 0x140075c79\ncall    qword ptr [rax+130h]                                           ; +0xdc, 0x140075c7c\nmovss   xmm0, dword ptr [rax+4]                                        ; +0xe2, 0x140075c82\ncomiss  xmm0, xmm6                                                     ; +0xe7, 0x140075c87\njb      short loc_140075C98                                            ; +0xea, 0x140075c8a\nxor     eax, eax                                                       ; +0xec, 0x140075c8c\ncomiss  xmm6, xmm7                                                     ; +0xee, 0x140075c8e\nsetnb   al                                                             ; +0xf1, 0x140075c91\ninc     eax                                                            ; +0xf4, 0x140075c94\njmp     short loc_140075C9D                                            ; +0xf6, 0x140075c96\nmov     eax, 1                                                         ; +0xf8, 0x140075c98\nmov     rbx, [rsp+58h+arg_8]                                           ; +0xfd, 0x140075c9d\nmovaps  xmm6, [rsp+58h+var_18]                                         ; +0x102, 0x140075ca2\nmovaps  xmm7, [rsp+58h+var_28]                                         ; +0x107, 0x140075ca7\nmovaps  xmm8, [rsp+58h+var_38]                                         ; +0x10c, 0x140075cac\nadd     rsp, 50h                                                       ; +0x112, 0x140075cb2\npop     rdi                                                            ; +0x116, 0x140075cb6\nretn                                                                   ; +0x117, 0x140075cb7", "xrefs": ["TableView::checkFirstCell @ 0x14007639b", "TableView::checkLastCell @ 0x140076667", "<???> @ 0x1406c6480"], "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"}