{"type": "func", "start": 5369195264, "end": 5369195795, "name": "TableViewCell::TableViewCell", "pseudocode": "// \n// TableViewCell::TableViewCell from 0x140076b00 to 0x140076d13 (531 bytes)\n// \n// 24 xrefs:\n// > BoomListView::getListCell @ 0x14003c52a\n// > BoomListView::getListCell @ 0x14003c5e5\n// > CustomListView::getListCell @ 0x1400aa8c8\n// > CustomListView::getListCell @ 0x1400aa944\n// > CustomListView::getListCell @ 0x1400aaa86\n// > CustomListView::getListCell @ 0x1400aabcc\n// > CustomListView::getListCell @ 0x1400aac48\n// > CustomListView::getListCell @ 0x1400aaccd\n// > CustomListView::getListCell @ 0x1400aadd7\n// > CustomListView::getListCell @ 0x1400aae6a\n// > CustomListView::getListCell @ 0x1400aaeef\n// > CustomListView::getListCell @ 0x1400aaf74\n// > CustomListView::getListCell @ 0x1400ab02a\n// > CustomListView::getListCell @ 0x1400ab0e7\n// > CustomListView::getListCell @ 0x1400ab1a4\n// > CustomListView::getListCell @ 0x1400ab264\n// > CustomListView::getListCell @ 0x1400ab353\n// > CustomListView::getListCell @ 0x1400ab3fc\n// > LevelCell::LevelCell @ 0x1400adf8d\n// > sub_1400B4600 @ 0x1400b4609\n// > CustomSFXCell::CustomSFXCell @ 0x1400b4b09\n// > CommentCell::CommentCell @ 0x1400b5b49\n// > LevelListCell::LevelListCell @ 0x1400bec39\n// > <???> @ 0x1406c64bc\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\n// Hidden C++ exception states: #wind=4\nTableViewCell *TableViewCell::TableViewCell(TableViewCell *a1, const char *a2, float a3, float a4)\n{\n  cocos2d::CCLayerColor *v6; // rax\n  size_t v7; // rbx\n  cocos2d::CCLayer *v8; // rax\n  void **v9; // rdx\n  void *v10; // rcx\n  _QWORD v12[2]; // [rsp+20h] [rbp-78h] BYREF\n  void *Block[2]; // [rsp+30h] [rbp-68h] BYREF\n  size_t Size; // [rsp+40h] [rbp-58h]\n  unsigned __int64 v15; // [rsp+48h] [rbp-50h]\n\n  v12[1] = a1;\n  cocos2d::CCLayer::CCLayer(a1);\n  a1->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (TableViewCell_vtbl *)&TableViewCell::`vftable';\n  a1->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&TableViewCell::`vftable';\n  a1->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&TableViewCell::`vftable';\n  a1->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&TableViewCell::`vftable';\n  a1->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&TableViewCell::`vftable';\n  a1->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&TableViewCell::`vftable';\n  v12[0] = &a1->m_indexPath;\n  cocos2d::CCObject::CCObject(&a1->m_indexPath);\n  a1->m_indexPath.__vftable = (CCIndexPath_vtbl *)&CCIndexPath::`vftable';\n  *(_QWORD *)&a1->m_indexPath.m_row = 0;\n  a1->m_cellIdentifier.m_data.0 = 0;\n  a1->m_cellIdentifier.m_data.m_size = 0;\n  a1->m_cellIdentifier.m_data.m_capacity = 15;\n  a1->m_cellIdentifier.m_data.m_smallStorage._Elems[0] = 0;\n  a1->m_width = a3;\n  a1->m_height = a4;\n  LODWORD(v12[0]) = 0;\n  v6 = cocos2d::CCLayerColor::create((const struct cocos2d::_ccColor4B *)v12, a3, a4);\n  a1->m_backgroundLayer = v6;\n  v7 = -1;\n  cocos2d::CCNode::addChild(a1, v6, -1);\n  v8 = (cocos2d::CCLayer *)cocos2d::CCLayer::create();\n  a1->m_mainLayer = v8;\n  cocos2d::CCNode::addChild(a1, v8);\n  *(_OWORD *)Block = 0;\n  Size = 0;\n  v15 = 0;\n  do\n    ++v7;\n  while ( a2[v7] );\n  sub_14003A930(Block, a2, v7);\n  if ( &a1->m_cellIdentifier != (std::string *)Block )\n  {\n    v9 = Block;\n    if ( v15 > 0xF )\n      v9 = (void **)Block[0];\n    sub_14003CCE0((void **)&a1->m_cellIdentifier, v9, Size);\n  }\n  LOBYTE(a1->m_unknown2) = 0;\n  a1->m_tableView = nullptr;\n  if ( v15 > 0xF )\n  {\n    v10 = Block[0];\n    if ( v15 + 1 >= 0x1000 )\n    {\n      v10 = *((void **)Block[0] - 1);\n      if ( (unsigned __int64)((char *)Block[0] - (char *)v10 - 8) > 0x1F )\n        invalid_parameter_noinfo_noreturn();\n    }\n    j_j_free(v10);\n  }\n  return a1;\n}", "assembly": "; \n; TableViewCell::TableViewCell from 0x140076b00 to 0x140076d13 (531 bytes)\n; \n; 24 xrefs:\n; > BoomListView::getListCell @ 0x14003c52a\n; > BoomListView::getListCell @ 0x14003c5e5\n; > CustomListView::getListCell @ 0x1400aa8c8\n; > CustomListView::getListCell @ 0x1400aa944\n; > CustomListView::getListCell @ 0x1400aaa86\n; > CustomListView::getListCell @ 0x1400aabcc\n; > CustomListView::getListCell @ 0x1400aac48\n; > CustomListView::getListCell @ 0x1400aaccd\n; > CustomListView::getListCell @ 0x1400aadd7\n; > CustomListView::getListCell @ 0x1400aae6a\n; > CustomListView::getListCell @ 0x1400aaeef\n; > CustomListView::getListCell @ 0x1400aaf74\n; > CustomListView::getListCell @ 0x1400ab02a\n; > CustomListView::getListCell @ 0x1400ab0e7\n; > CustomListView::getListCell @ 0x1400ab1a4\n; > CustomListView::getListCell @ 0x1400ab264\n; > CustomListView::getListCell @ 0x1400ab353\n; > CustomListView::getListCell @ 0x1400ab3fc\n; > LevelCell::LevelCell @ 0x1400adf8d\n; > sub_1400B4600 @ 0x1400b4609\n; > CustomSFXCell::CustomSFXCell @ 0x1400b4b09\n; > CommentCell::CommentCell @ 0x1400b5b49\n; > LevelListCell::LevelListCell @ 0x1400bec39\n; > <???> @ 0x1406c64bc\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_10], rbx                                              ; +0x0, 0x140076b00\nmov     [rsp+arg_18], rbp                                              ; +0x5, 0x140076b05\npush    rsi                                                            ; +0xa, 0x140076b0a\npush    rdi                                                            ; +0xb, 0x140076b0b\npush    r14                                                            ; +0xc, 0x140076b0c\nsub     rsp, 80h                                                       ; +0xe, 0x140076b0e\nmovaps  [rsp+98h+var_28], xmm6                                         ; +0x15, 0x140076b15\nmovaps  [rsp+98h+var_38], xmm7                                         ; +0x1a, 0x140076b1a\nmov     rax, cs:__security_cookie                                      ; +0x1f, 0x140076b1f\nxor     rax, rsp                                                       ; +0x26, 0x140076b26\nmov     [rsp+98h+var_48], rax                                          ; +0x29, 0x140076b29\nmovaps  xmm6, xmm3                                                     ; +0x2e, 0x140076b2e\nmovaps  xmm7, xmm2                                                     ; +0x31, 0x140076b31\nmov     rsi, rdx                                                       ; +0x34, 0x140076b34\nmov     rdi, rcx                                                       ; +0x37, 0x140076b37\nmov     [rsp+98h+var_70], rcx                                          ; +0x3a, 0x140076b3a\ncall    cs:??0CCLayer@cocos2d@@QEAA@XZ; cocos2d::CCLayer::CCLayer(void) ; +0x3f, 0x140076b3f\nnop                                                                    ; +0x45, 0x140076b45\nlea     rax, ??_7TableViewCell@@6B@; const TableViewCell::`vftable'    ; +0x46, 0x140076b46\nmov     [rdi], rax                                                     ; +0x4d, 0x140076b4d\nlea     rax, ??_7TableViewCell@@6B@_0; const TableViewCell::`vftable'  ; +0x50, 0x140076b50\nmov     [rdi+140h], rax                                                ; +0x57, 0x140076b57\nlea     rax, ??_7TableViewCell@@6B@_1; const TableViewCell::`vftable'  ; +0x5e, 0x140076b5e\nmov     [rdi+148h], rax                                                ; +0x65, 0x140076b65\nlea     rax, ??_7TableViewCell@@6B@_2; const TableViewCell::`vftable'  ; +0x6c, 0x140076b6c\nmov     [rdi+150h], rax                                                ; +0x73, 0x140076b73\nlea     rax, ??_7TableViewCell@@6B@_3; const TableViewCell::`vftable'  ; +0x7a, 0x140076b7a\nmov     [rdi+158h], rax                                                ; +0x81, 0x140076b81\nlea     rax, ??_7TableViewCell@@6B@_4; const TableViewCell::`vftable'  ; +0x88, 0x140076b88\nmov     [rdi+160h], rax                                                ; +0x8f, 0x140076b8f\nlea     rbx, [rdi+1A8h]                                                ; +0x96, 0x140076b96\nmov     [rsp+98h+var_78], rbx                                          ; +0x9d, 0x140076b9d\nmov     rcx, rbx                                                       ; +0xa2, 0x140076ba2\ncall    cs:??0CCObject@cocos2d@@QEAA@XZ; cocos2d::CCObject::CCObject(void) ; +0xa5, 0x140076ba5\nlea     rax, ??_7CCIndexPath@@6B@; const CCIndexPath::`vftable'        ; +0xab, 0x140076bab\nmov     [rbx], rax                                                     ; +0xb2, 0x140076bb2\nxor     ebp, ebp                                                       ; +0xb5, 0x140076bb5\nmov     [rbx+38h], rbp                                                 ; +0xb7, 0x140076bb7\nlea     r14, [rdi+1F0h]                                                ; +0xbb, 0x140076bbb\nxorps   xmm0, xmm0                                                     ; +0xc2, 0x140076bc2\nmovups  xmmword ptr [r14], xmm0                                        ; +0xc5, 0x140076bc5\nmov     [r14+10h], rbp                                                 ; +0xc9, 0x140076bc9\nmov     qword ptr [r14+18h], 0Fh                                       ; +0xcd, 0x140076bcd\nmov     [r14], bpl                                                     ; +0xd5, 0x140076bd5\nmovss   dword ptr [rdi+210h], xmm7                                     ; +0xd8, 0x140076bd8\nmovss   dword ptr [rdi+214h], xmm6                                     ; +0xe0, 0x140076be0\nmov     dword ptr [rsp+98h+var_78], ebp                                ; +0xe8, 0x140076be8\nmov     eax, ebp                                                       ; +0xec, 0x140076bec\nmov     dword ptr [rsp+98h+var_78], eax                                ; +0xee, 0x140076bee\nmovaps  xmm2, xmm6                                                     ; +0xf2, 0x140076bf2\nmovaps  xmm1, xmm7                                                     ; +0xf5, 0x140076bf5\nlea     rcx, [rsp+98h+var_78]                                          ; +0xf8, 0x140076bf8\ncall    cs:?create@CCLayerColor@cocos2d@@SAPEAV12@AEBU_ccColor4B@2@MM@Z; cocos2d::CCLayerColor::create(cocos2d::_ccColor4B const &,float,float) ; +0xfd, 0x140076bfd\nmov     [rdi+218h], rax                                                ; +0x103, 0x140076c03\nmov     rbx, 0FFFFFFFFFFFFFFFFh                                        ; +0x10a, 0x140076c0a\nmov     r8d, ebx                                                       ; +0x111, 0x140076c11\nmov     rdx, rax                                                       ; +0x114, 0x140076c14\nmov     rcx, rdi                                                       ; +0x117, 0x140076c17\ncall    cs:__imp_?addChild@CCNode@cocos2d@@UEAAXPEAV12@H@Z; cocos2d::CCNode::addChild(cocos2d::CCNode *,int) ; +0x11a, 0x140076c1a\ncall    cs:?create@CCLayer@cocos2d@@SAPEAV12@XZ; cocos2d::CCLayer::create(void) ; +0x120, 0x140076c20\nmov     [rdi+220h], rax                                                ; +0x126, 0x140076c26\nmov     rdx, rax                                                       ; +0x12d, 0x140076c2d\nmov     rcx, rdi                                                       ; +0x130, 0x140076c30\ncall    cs:__imp_?addChild@CCNode@cocos2d@@UEAAXPEAV12@@Z; cocos2d::CCNode::addChild(cocos2d::CCNode *) ; +0x133, 0x140076c33\nxorps   xmm0, xmm0                                                     ; +0x139, 0x140076c39\nmovups  xmmword ptr [rsp+98h+Block], xmm0                              ; +0x13c, 0x140076c3c\nmov     [rsp+98h+Size], rbp                                            ; +0x141, 0x140076c41\nmov     [rsp+98h+var_50], rbp                                          ; +0x146, 0x140076c46\nnop     dword ptr [rax+rax+00h]                                        ; +0x14b, 0x140076c4b\ninc     rbx                                                            ; +0x150, 0x140076c50\ncmp     byte ptr [rsi+rbx], 0                                          ; +0x153, 0x140076c53\njnz     short loc_140076C50                                            ; +0x157, 0x140076c57\nmov     r8, rbx                                                        ; +0x159, 0x140076c59\nmov     rdx, rsi                                                       ; +0x15c, 0x140076c5c\nlea     rcx, [rsp+98h+Block]                                           ; +0x15f, 0x140076c5f\ncall    sub_14003A930                                                  ; +0x164, 0x140076c64\nnop                                                                    ; +0x169, 0x140076c69\nlea     rax, [rsp+98h+Block]                                           ; +0x16a, 0x140076c6a\ncmp     r14, rax                                                       ; +0x16f, 0x140076c6f\njz      short loc_140076C92                                            ; +0x172, 0x140076c72\nlea     rdx, [rsp+98h+Block]                                           ; +0x174, 0x140076c74\ncmp     [rsp+98h+var_50], 0Fh                                          ; +0x179, 0x140076c79\ncmova   rdx, [rsp+98h+Block]; Src                                      ; +0x17f, 0x140076c7f\nmov     r8, [rsp+98h+Size]; Size                                       ; +0x185, 0x140076c85\nmov     rcx, r14; void *                                               ; +0x18a, 0x140076c8a\ncall    sub_14003CCE0                                                  ; +0x18d, 0x140076c8d\nmov     byte ptr [rdi+1E8h], 0                                         ; +0x192, 0x140076c92\nmov     [rdi+1A0h], rbp                                                ; +0x199, 0x140076c99\nmov     rdx, [rsp+98h+var_50]                                          ; +0x1a0, 0x140076ca0\ncmp     rdx, 0Fh                                                       ; +0x1a5, 0x140076ca5\njbe     short loc_140076CE1                                            ; +0x1a9, 0x140076ca9\ninc     rdx                                                            ; +0x1ab, 0x140076cab\nmov     rcx, [rsp+98h+Block]; Block                                    ; +0x1ae, 0x140076cae\nmov     rax, rcx                                                       ; +0x1b3, 0x140076cb3\ncmp     rdx, 1000h                                                     ; +0x1b6, 0x140076cb6\njb      short loc_140076CDB                                            ; +0x1bd, 0x140076cbd\nadd     rdx, 27h ; '''                                                 ; +0x1bf, 0x140076cbf\nmov     rcx, [rcx-8]                                                   ; +0x1c3, 0x140076cc3\nsub     rax, rcx                                                       ; +0x1c7, 0x140076cc7\nadd     rax, 0FFFFFFFFFFFFFFF8h                                        ; +0x1ca, 0x140076cca\ncmp     rax, 1Fh                                                       ; +0x1ce, 0x140076cce\njbe     short loc_140076CDB                                            ; +0x1d2, 0x140076cd2\ncall    cs:_invalid_parameter_noinfo_noreturn                          ; +0x1d4, 0x140076cd4\ndb 0CCh                                                                ; +0x1da, 0x140076cda\ncall    j_j_free                                                       ; +0x1db, 0x140076cdb\nnop                                                                    ; +0x1e0, 0x140076ce0\nmov     rax, rdi                                                       ; +0x1e1, 0x140076ce1\nmov     rcx, [rsp+98h+var_48]                                          ; +0x1e4, 0x140076ce4\nxor     rcx, rsp; StackCookie                                          ; +0x1e9, 0x140076ce9\ncall    __security_check_cookie                                        ; +0x1ec, 0x140076cec\nlea     r11, [rsp+98h+var_18]                                          ; +0x1f1, 0x140076cf1\nmov     rbx, [r11+30h]                                                 ; +0x1f9, 0x140076cf9\nmov     rbp, [r11+38h]                                                 ; +0x1fd, 0x140076cfd\nmovaps  xmm6, [rsp+98h+var_28]                                         ; +0x201, 0x140076d01\nmovaps  xmm7, [rsp+98h+var_38]                                         ; +0x206, 0x140076d06\nmov     rsp, r11                                                       ; +0x20b, 0x140076d0b\npop     r14                                                            ; +0x20e, 0x140076d0e\npop     rdi                                                            ; +0x210, 0x140076d10\npop     rsi                                                            ; +0x211, 0x140076d11\nretn                                                                   ; +0x212, 0x140076d12", "xrefs": ["BoomListView::getListCell @ 0x14003c52a", "BoomListView::getListCell @ 0x14003c5e5", "CustomListView::getListCell @ 0x1400aa8c8", "CustomListView::getListCell @ 0x1400aa944", "CustomListView::getListCell @ 0x1400aaa86", "CustomListView::getListCell @ 0x1400aabcc", "CustomListView::getListCell @ 0x1400aac48", "CustomListView::getListCell @ 0x1400aaccd", "CustomListView::getListCell @ 0x1400aadd7", "CustomListView::getListCell @ 0x1400aae6a", "CustomListView::getListCell @ 0x1400aaeef", "CustomListView::getListCell @ 0x1400aaf74", "CustomListView::getListCell @ 0x1400ab02a", "CustomListView::getListCell @ 0x1400ab0e7", "CustomListView::getListCell @ 0x1400ab1a4", "CustomListView::getListCell @ 0x1400ab264", "CustomListView::getListCell @ 0x1400ab353", "CustomListView::getListCell @ 0x1400ab3fc", "LevelCell::LevelCell @ 0x1400adf8d", "sub_1400B4600 @ 0x1400b4609", "CustomSFXCell::CustomSFXCell @ 0x1400b4b09", "CommentCell::CommentCell @ 0x1400b5b49", "LevelListCell::LevelListCell @ 0x1400bec39", "<???> @ 0x1406c64bc"], "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"}