//
// TableViewCell::TableViewCell from 0x100033c9c to 0x100033db0 (276 bytes)
//
// 26 xrefs:
// > CustomListView::getListCell @ 0x1001007a4
// > CustomListView::getListCell @ 0x100100810
// > CustomListView::getListCell @ 0x1001008a8
// > CustomListView::getListCell @ 0x10010091c
// > CustomListView::getListCell @ 0x100100944
// > CustomListView::getListCell @ 0x10010096c
// > CustomListView::getListCell @ 0x10010098c
// > CustomListView::getListCell @ 0x1001009dc
// > CustomListView::getListCell @ 0x100100a24
// > CustomListView::getListCell @ 0x100100a7c
// > CustomListView::getListCell @ 0x100100ad8
// > CustomListView::getListCell @ 0x100100b20
// > CustomListView::getListCell @ 0x100100b64
// > CustomListView::getListCell @ 0x100100bd0
// > CustomListView::getListCell @ 0x100100bf8
// > CustomListView::getListCell @ 0x100100c68
// > CustomListView::getListCell @ 0x100100cb4
// > CustomListView::getListCell @ 0x100100cdc
// > CustomListView::getListCell @ 0x100100d04
// > CustomListView::getListCell @ 0x100100d68
// > CustomListView::getListCell @ 0x100100dc8
// > LevelCell::LevelCell @ 0x10010c0c8
// > MapPackCell::MapPackCell @ 0x10010f2dc
// > OptionsCell::OptionsCell @ 0x1001106dc
// > BoomListView::getListCell @ 0x1001d0200
// > BoomListView::getListCell @ 0x1001d025c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
TableViewCell *__fastcall TableViewCell::TableViewCell(TableViewCell *a1, const char *a2, float a3, float a4)
{
_QWORD *v8; // x0
std::string __str; // [xsp+8h] [xbp-38h] BYREF
v8 = (_QWORD *)cocos2d::CCLayer::CCLayer();
*v8 = off_100768B90;
v8[40] = off_100769010;
v8[41] = &off_100769080;
v8[42] = off_100769098;
v8[43] = &off_1007690B8;
v8[44] = off_1007690D8;
cocos2d::CCObject::CCObject(v8 + 53);
a1->m_indexPath.__vftable = (CCIndexPath_vtbl *)&off_100769118;
*(_QWORD *)&a1->m_indexPath.m_row = 0;
a1->m_cellIdentifier.m_data.m_long.size = 0;
a1->m_cellIdentifier.m_data.m_long.longStorage = nullptr;
a1->m_cellIdentifier.m_data.m_long.capacitym1 = 0;
a1->m_width = a3;
a1->m_height = a4;
LODWORD(__str.__r_.__value_.__l.__data_) = 0;
a1->m_backgroundLayer = cocos2d::CCLayerColor::create((const cocos2d::ccColor4B *)&__str, a3, a4);
((void (__fastcall *)(TableViewCell *))a1->addChild_0)(a1);
a1->m_mainLayer = cocos2d::CCLayer::create();
((void (__fastcall *)(TableViewCell *))a1->addChild)(a1);
sub_100009900(&__str, (char *)a2);
std::string::operator=((std::string *)&a1->m_cellIdentifier, &__str);
LOBYTE(a1->m_unknown2) = 0;
a1->m_tableView = nullptr;
if ( SHIBYTE(__str.__r_.__value_.__r.__words[2]) < 0 )
operator delete(__str.__r_.__value_.__l.__data_);
return a1;
}