//
// TableViewCell::TableViewCell from 0x140089ab0 to 0x140089cc5 (533 bytes)
//
// 29 xrefs:
// > BoomListView::getListCell @ 0x14003fdba
// > BoomListView::getListCell @ 0x14003fe75
// > LevelBadgePopup::buildCell @ 0x1400e669d
// > CustomListView::getListCell @ 0x140144ab8
// > CustomListView::getListCell @ 0x140144b34
// > CustomListView::getListCell @ 0x140144c76
// > CustomListView::getListCell @ 0x140144df6
// > CustomListView::getListCell @ 0x140144e72
// > CustomListView::getListCell @ 0x140144ef7
// > CustomListView::getListCell @ 0x140145001
// > CustomListView::getListCell @ 0x140145094
// > CustomListView::getListCell @ 0x140145119
// > CustomListView::getListCell @ 0x14014519e
// > CustomListView::getListCell @ 0x140145223
// > CustomListView::getListCell @ 0x1401452b5
// > CustomListView::getListCell @ 0x140145372
// > CustomListView::getListCell @ 0x1401453fe
// > CustomListView::getListCell @ 0x140145498
// > CustomListView::getListCell @ 0x140145558
// > CustomListView::getListCell @ 0x14014566b
// > CustomListView::getListCell @ 0x140145761
// > CustomListView::getListCell @ 0x14014580a
// > LevelCell::LevelCell @ 0x14014899d
// > CustomSongCell::CustomSongCell @ 0x1401502e9
// > CustomSFXCell::CustomSFXCell @ 0x140150879
// > CommentCell::CommentCell @ 0x140151dc9
// > LevelListCell::LevelListCell @ 0x14015e2b9
// > EditorSoundConfigCell::EditorSoundConfigCell @ 0x140190609
// > ??> @ 0x1409126a4
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:25:58 +0000
//
// Hidden C++ exception states: #wind=4
__int64 __fastcall TableViewCell::TableViewCell(__int64 a1, _BYTE *a2, float a3, float a4)
{
struct cocos2d::CCNode *v6; // rax
size_t v7; // rbx
struct cocos2d::CCNode *v8; // rax
void **v9; // rdx
void *v10; // rcx
int v12; // [rsp+30h] [rbp-78h] BYREF
__int64 v13; // [rsp+38h] [rbp-70h]
void *Block[2]; // [rsp+40h] [rbp-68h] BYREF
size_t Size; // [rsp+50h] [rbp-58h]
unsigned __int64 v16; // [rsp+58h] [rbp-50h]
v13 = a1;
cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)a1);
*(_QWORD *)a1 = &TableViewCell::`vftable';
*(_QWORD *)(a1 + 320) = &TableViewCell::`vftable';
*(_QWORD *)(a1 + 328) = &TableViewCell::`vftable';
*(_QWORD *)(a1 + 336) = &TableViewCell::`vftable';
*(_QWORD *)(a1 + 344) = &TableViewCell::`vftable';
*(_QWORD *)(a1 + 352) = &TableViewCell::`vftable';
cocos2d::CCObject::CCObject((cocos2d::CCObject *)(a1 + 424));
*(_QWORD *)(a1 + 424) = &CCIndexPath::`vftable';
*(_QWORD *)(a1 + 480) = 0;
*(_OWORD *)(a1 + 496) = 0;
*(_QWORD *)(a1 + 512) = 0;
*(_QWORD *)(a1 + 520) = 15;
*(_BYTE *)(a1 + 496) = 0;
*(float *)(a1 + 528) = a3;
*(float *)(a1 + 532) = a4;
v12 = 0;
v6 = cocos2d::CCLayerColor::create((const struct cocos2d::_ccColor4B *)&v12, a3, a4);
*(_QWORD *)(a1 + 536) = v6;
v7 = -1;
cocos2d::CCNode::addChild((cocos2d::CCNode *)a1, v6, -1);
v8 = (struct cocos2d::CCNode *)cocos2d::CCLayer::create();
*(_QWORD *)(a1 + 544) = v8;
cocos2d::CCNode::addChild((cocos2d::CCNode *)a1, v8);
*(_OWORD *)Block = 0;
Size = 0;
v16 = 0;
do
++v7;
while ( a2[v7] );
sub_14003D230(Block, a2, v7);
if ( (void **)(a1 + 496) != Block )
{
v9 = Block;
if ( v16 > 0xF )
v9 = (void **)Block[0];
sub_1400405A0((void **)(a1 + 496), v9, Size);
}
*(_BYTE *)(a1 + 488) = 0;
*(_QWORD *)(a1 + 416) = 0;
if ( v16 > 0xF )
{
v10 = Block[0];
if ( v16 + 1 >= 0x1000 )
{
v10 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v10 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v10);
}
return a1;
}