//
// TableViewCell::TableViewCell from 0x2ea74c to 0x2ea868 (284 bytes)
//
// 21 xrefs:
// > ListCell::ListCell @ 0x2e16b0
// > GameCell::GameCell @ 0x2e1708
// > AchievementCell::AchievementCell @ 0x330984
// > LevelCell::LevelCell @ 0x331450
// > MapPackCell::MapPackCell @ 0x3338b0
// > StatsCell::StatsCell @ 0x334420
// > SongCell::SongCell @ 0x334ccc
// > CustomSongCell::CustomSongCell @ 0x33508c
// > CustomSFXCell::CustomSFXCell @ 0x3352b8
// > OptionsCell::OptionsCell @ 0x335654
// > ArtistCell::ArtistCell @ 0x335990
// > CommentCell::CommentCell @ 0x335c84
// > GJScoreCell::GJScoreCell @ 0x337238
// > GJLocalLevelScoreCell::GJLocalLevelScoreCell @ 0x33804c
// > GJLevelScoreCell::GJLevelScoreCell @ 0x3382c8
// > GJUserCell::GJUserCell @ 0x3389cc
// > GJRequestCell::GJRequestCell @ 0x3390bc
// > GJMessageCell::GJMessageCell @ 0x3398a4
// > SmartTemplateCell::SmartTemplateCell @ 0x33a114
// > LevelListCell::LevelListCell @ 0x33a690
// > URLCell::URLCell @ 0x33b58c
//
// 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
//
// Alternative name is '_ZN13TableViewCellC1EPKcff'
TableViewCell *TableViewCell::TableViewCell(TableViewCell *a1, const char *a2, float a3, float a4)
{
CCIndexPath *p_m_indexPath; // r10
cocos2d::CCLayerColor *v9; // r0
cocos2d::CCLayer *v10; // r0
_BYTE v12[4]; // [sp+8h] [bp-Ch] BYREF
p_m_indexPath = &a1->m_indexPath;
cocos2d::CCLayer::CCLayer(a1);
a1->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (TableViewCell_vtbl *)&off_A3E9D8;
a1->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A3EC18;
a1->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A3EC50;
a1->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A3EC5C;
a1->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A3EC6C;
a1->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A3EC7C;
cocos2d::CCObject::CCObject(p_m_indexPath);
a1->m_width = a3;
a1->m_indexPath.__vftable = (CCIndexPath_vtbl *)&off_A3E680;
a1->m_cellIdentifier.m_data.m_data = (stl::StringData::Internal *)&unk_ACDDA8;
a1->m_height = a4;
a1->m_indexPath.m_row = 0;
a1->m_indexPath.m_section = 0;
v12[0] = 0;
v12[1] = 0;
v12[2] = 0;
v12[3] = 0;
v9 = (cocos2d::CCLayerColor *)cocos2d::CCLayerColor::create(
(cocos2d::CCLayerColor *)v12,
(const cocos2d::_ccColor4B *)LODWORD(a3),
a4,
0.0);
a1->m_backgroundLayer = v9;
cocos2d::CCNode::addChild(a1, v9, -1);
v10 = cocos2d::CCLayer::create();
a1->m_mainLayer = v10;
cocos2d::CCNode::addChild(a1, v10);
sub_776584((int)v12, (char *)a2);
sub_775D40(&a1->m_cellIdentifier, v12);
LOBYTE(a1->m_unknown2) = 0;
a1->m_tableView = nullptr;
sub_774008(v12);
return a1;
}