{"type": "func", "start": 6442567264, "end": 6442567688, "name": "cocos2d::extension::CCTableView::CCTableView", "pseudocode": "// \n// cocos2d::extension::CCTableView::CCTableView from 0x18001c660 to 0x18001c808 (424 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x180032408\n// > <???> @ 0x18004ce78\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:43 +0000\n// \n\n// Hidden C++ exception states: #wind=2\ncocos2d::extension::CCTableView *__fastcall cocos2d::extension::CCTableView::CCTableView(\n        cocos2d::extension::CCTableView *this,\n        const struct cocos2d::extension::CCTableView *a2)\n{\n  unsigned __int64 v4; // rbx\n  size_t v5; // rbx\n  unsigned __int64 v6; // rax\n  char *v7; // rdi\n  const void *v8; // rdx\n  signed __int64 v9; // rbx\n\n  cocos2d::extension::CCScrollView::CCScrollView(this, a2);\n  *(_QWORD *)this = &cocos2d::extension::CCTableView::`vftable'{for `cocos2d::CCNode'};\n  *((_QWORD *)this + 40) = &cocos2d::extension::CCTableView::`vftable'{for `cocos2d::CCTouchDelegate'};\n  *((_QWORD *)this + 41) = &cocos2d::extension::CCTableView::`vftable'{for `cocos2d::CCAccelerometerDelegate'};\n  *((_QWORD *)this + 42) = &cocos2d::extension::CCTableView::`vftable'{for `cocos2d::CCKeypadDelegate'};\n  *((_QWORD *)this + 43) = &cocos2d::extension::CCTableView::`vftable'{for `cocos2d::CCKeyboardDelegate'};\n  *((_QWORD *)this + 44) = &cocos2d::extension::CCTableView::`vftable'{for `cocos2d::CCMouseDelegate'};\n  *((_QWORD *)this + 71) = &cocos2d::extension::CCTableView::`vftable';\n  *((_QWORD *)this + 72) = *((_QWORD *)a2 + 72);\n  *((_DWORD *)this + 146) = *((_DWORD *)a2 + 146);\n  *((_QWORD *)this + 74) = *((_QWORD *)a2 + 74);\n  *((_QWORD *)this + 75) = 0;\n  *((_QWORD *)this + 76) = 0;\n  *((_QWORD *)this + 77) = 0;\n  v4 = (__int64)(*((_QWORD *)a2 + 76) - *((_QWORD *)a2 + 75)) >> 2;\n  if ( v4 )\n  {\n    if ( v4 > 0x3FFFFFFFFFFFFFFFLL )\n      sub_180003130();\n    v5 = 4 * v4;\n    v6 = sub_180003940(v5);\n    *((_QWORD *)this + 75) = v6;\n    *((_QWORD *)this + 76) = v6;\n    *((_QWORD *)this + 77) = v5 + v6;\n    v7 = *((char **)this + 75);\n    v8 = *((const void **)a2 + 75);\n    v9 = *((_QWORD *)a2 + 76) - (_QWORD)v8;\n    memmove(v7, v8, v9);\n    *((_QWORD *)this + 76) = &v7[4 * (v9 >> 2)];\n  }\n  *((_QWORD *)this + 78) = *((_QWORD *)a2 + 78);\n  *((_QWORD *)this + 79) = *((_QWORD *)a2 + 79);\n  *((_QWORD *)this + 80) = *((_QWORD *)a2 + 80);\n  *((_QWORD *)this + 81) = *((_QWORD *)a2 + 81);\n  *((_DWORD *)this + 164) = *((_DWORD *)a2 + 164);\n  return this;\n}", "assembly": "; \n; cocos2d::extension::CCTableView::CCTableView from 0x18001c660 to 0x18001c808 (424 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x180032408\n; > <???> @ 0x18004ce78\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:43 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x18001c660\nmov     [rsp+arg_10], rbp                                              ; +0x5, 0x18001c665\nmov     [rsp+arg_18], rsi                                              ; +0xa, 0x18001c66a\nmov     [rsp+arg_0], rcx                                               ; +0xf, 0x18001c66f\npush    rdi                                                            ; +0x14, 0x18001c674\nsub     rsp, 20h                                                       ; +0x15, 0x18001c675\nmov     rbp, rdx                                                       ; +0x19, 0x18001c679\nmov     rsi, rcx                                                       ; +0x1c, 0x18001c67c\ncall    ??0CCScrollView@extension@cocos2d@@QEAA@AEBV012@@Z; cocos2d::extension::CCScrollView::CCScrollView(cocos2d::extension::CCScrollView const &) ; +0x1f, 0x18001c67f\nnop                                                                    ; +0x24, 0x18001c684\nlea     rax, ??_7CCTableView@extension@cocos2d@@6BCCNode@2@@; const cocos2d::extension::CCTableView::`vftable'{for `cocos2d::CCNode'} ; +0x25, 0x18001c685\nmov     [rsi], rax                                                     ; +0x2c, 0x18001c68c\nlea     rax, ??_7CCTableView@extension@cocos2d@@6BCCTouchDelegate@2@@; const cocos2d::extension::CCTableView::`vftable'{for `cocos2d::CCTouchDelegate'} ; +0x2f, 0x18001c68f\nmov     [rsi+140h], rax                                                ; +0x36, 0x18001c696\nlea     rax, ??_7CCTableView@extension@cocos2d@@6BCCAccelerometerDelegate@2@@; const cocos2d::extension::CCTableView::`vftable'{for `cocos2d::CCAccelerometerDelegate'} ; +0x3d, 0x18001c69d\nmov     [rsi+148h], rax                                                ; +0x44, 0x18001c6a4\nlea     rax, ??_7CCTableView@extension@cocos2d@@6BCCKeypadDelegate@2@@; const cocos2d::extension::CCTableView::`vftable'{for `cocos2d::CCKeypadDelegate'} ; +0x4b, 0x18001c6ab\nmov     [rsi+150h], rax                                                ; +0x52, 0x18001c6b2\nlea     rax, ??_7CCTableView@extension@cocos2d@@6BCCKeyboardDelegate@2@@; const cocos2d::extension::CCTableView::`vftable'{for `cocos2d::CCKeyboardDelegate'} ; +0x59, 0x18001c6b9\nmov     [rsi+158h], rax                                                ; +0x60, 0x18001c6c0\nlea     rax, ??_7CCTableView@extension@cocos2d@@6BCCMouseDelegate@2@@; const cocos2d::extension::CCTableView::`vftable'{for `cocos2d::CCMouseDelegate'} ; +0x67, 0x18001c6c7\nmov     [rsi+160h], rax                                                ; +0x6e, 0x18001c6ce\nlea     rax, ??_7CCTableView@extension@cocos2d@@6B@; const cocos2d::extension::CCTableView::`vftable' ; +0x75, 0x18001c6d5\nmov     [rsi+238h], rax                                                ; +0x7c, 0x18001c6dc\nmov     rax, [rbp+240h]                                                ; +0x83, 0x18001c6e3\nmov     [rsi+240h], rax                                                ; +0x8a, 0x18001c6ea\nmov     eax, [rbp+248h]                                                ; +0x91, 0x18001c6f1\nmov     [rsi+248h], eax                                                ; +0x97, 0x18001c6f7\nmov     rax, [rbp+250h]                                                ; +0x9d, 0x18001c6fd\nmov     [rsi+250h], rax                                                ; +0xa4, 0x18001c704\nxor     eax, eax                                                       ; +0xab, 0x18001c70b\nmov     [rsi+258h], rax                                                ; +0xad, 0x18001c70d\nmov     [rsi+260h], rax                                                ; +0xb4, 0x18001c714\nmov     [rsi+268h], rax                                                ; +0xbb, 0x18001c71b\nmov     rbx, [rbp+260h]                                                ; +0xc2, 0x18001c722\nsub     rbx, [rbp+258h]                                                ; +0xc9, 0x18001c729\nsar     rbx, 2                                                         ; +0xd0, 0x18001c730\ntest    rbx, rbx                                                       ; +0xd4, 0x18001c734\njz      short loc_18001C7A6                                            ; +0xd7, 0x18001c737\nmov     rax, 3FFFFFFFFFFFFFFFh                                         ; +0xd9, 0x18001c739\ncmp     rbx, rax                                                       ; +0xe3, 0x18001c743\nja      loc_18001C802                                                  ; +0xe6, 0x18001c746\nlea     rbx, ds:0[rbx*4]                                               ; +0xec, 0x18001c74c\nmov     rcx, rbx                                                       ; +0xf4, 0x18001c754\ncall    sub_180003940                                                  ; +0xf7, 0x18001c757\nmov     [rsi+258h], rax                                                ; +0xfc, 0x18001c75c\nmov     [rsi+260h], rax                                                ; +0x103, 0x18001c763\nadd     rax, rbx                                                       ; +0x10a, 0x18001c76a\nmov     [rsi+268h], rax                                                ; +0x10d, 0x18001c76d\nmov     rdi, [rsi+258h]                                                ; +0x114, 0x18001c774\nmov     rdx, [rbp+258h]; Src                                           ; +0x11b, 0x18001c77b\nmov     rbx, [rbp+260h]                                                ; +0x122, 0x18001c782\nsub     rbx, rdx                                                       ; +0x129, 0x18001c789\nmov     r8, rbx; Size                                                  ; +0x12c, 0x18001c78c\nmov     rcx, rdi; void *                                               ; +0x12f, 0x18001c78f\ncall    memmove                                                        ; +0x132, 0x18001c792\nsar     rbx, 2                                                         ; +0x137, 0x18001c797\nlea     rax, [rdi+rbx*4]                                               ; +0x13b, 0x18001c79b\nmov     [rsi+260h], rax                                                ; +0x13f, 0x18001c79f\nmov     rax, [rbp+270h]                                                ; +0x146, 0x18001c7a6\nmov     [rsi+270h], rax                                                ; +0x14d, 0x18001c7ad\nmov     rax, [rbp+278h]                                                ; +0x154, 0x18001c7b4\nmov     [rsi+278h], rax                                                ; +0x15b, 0x18001c7bb\nmov     rax, [rbp+280h]                                                ; +0x162, 0x18001c7c2\nmov     [rsi+280h], rax                                                ; +0x169, 0x18001c7c9\nmov     rax, [rbp+288h]                                                ; +0x170, 0x18001c7d0\nmov     [rsi+288h], rax                                                ; +0x177, 0x18001c7d7\nmov     eax, [rbp+290h]                                                ; +0x17e, 0x18001c7de\nmov     [rsi+290h], eax                                                ; +0x184, 0x18001c7e4\nmov     rax, rsi                                                       ; +0x18a, 0x18001c7ea\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x18d, 0x18001c7ed\nmov     rbp, [rsp+28h+arg_10]                                          ; +0x192, 0x18001c7f2\nmov     rsi, [rsp+28h+arg_18]                                          ; +0x197, 0x18001c7f7\nadd     rsp, 20h                                                       ; +0x19c, 0x18001c7fc\npop     rdi                                                            ; +0x1a0, 0x18001c800\nretn                                                                   ; +0x1a1, 0x18001c801\ncall    sub_180003130                                                  ; +0x1a2, 0x18001c802\nalign 8                                                                ; +0x1a7, 0x18001c807", "xrefs": ["<???> @ 0x180032408", "<???> @ 0x18004ce78"], "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"}