//
// TableViewCell::TableViewCell from 0x1007037a0 to 0x100703987 (487 bytes)
//
// 87 xrefs:
// > CustomListView::getListCell @ 0x100225edd
// > CustomListView::getListCell @ 0x100225f9a
// > CustomListView::getListCell @ 0x10022603e
// > CustomListView::getListCell @ 0x1002260bf
// > CustomListView::getListCell @ 0x100226176
// > CustomListView::getListCell @ 0x1002261f7
// > CustomListView::getListCell @ 0x1002262a9
// > CustomListView::getListCell @ 0x100226374
// > CustomListView::getListCell @ 0x100226408
// > CustomListView::getListCell @ 0x1002264be
// > CustomListView::getListCell @ 0x100226584
// > CustomListView::getListCell @ 0x10022661f
// > CustomListView::getListCell @ 0x1002266e1
// > CustomListView::getListCell @ 0x100226787
// > CustomListView::getListCell @ 0x100226803
// > CustomListView::getListCell @ 0x100226897
// > CustomListView::getListCell @ 0x100226913
// > CustomListView::getListCell @ 0x10022698f
// > CustomListView::getListCell @ 0x1002269bf
// > CustomListView::getListCell @ 0x100226a42
// > CustomListView::getListCell @ 0x100226ac2
// > CustomListView::getListCell @ 0x100226b88
// > CustomListView::getListCell @ 0x100226c12
// > CustomListView::getListCell @ 0x100226c8b
// > CustomListView::getListCell @ 0x100226d19
// > CustomListView::getListCell @ 0x100226dd8
// > CustomListView::getListCell @ 0x100226e6f
// > CustomListView::getListCell @ 0x100226f3b
// > CustomListView::getListCell @ 0x100226ffc
// > sub_100227250 @ 0x100227259
// > sub_1002272C0 @ 0x1002272c9
// > sub_100227330 @ 0x100227339
// > sub_1002273B0 @ 0x1002273b9
// > sub_100227430 @ 0x10022743a
// > sub_1002274C0 @ 0x1002274c9
// > sub_100227550 @ 0x10022755a
// > sub_100227600 @ 0x100227609
// > sub_100227670 @ 0x100227679
// > sub_1002276E0 @ 0x1002276e9
// > sub_100227750 @ 0x100227759
// > sub_100227800 @ 0x100227809
// > sub_100227880 @ 0x100227889
// > sub_1002278F0 @ 0x1002278f9
// > sub_100227960 @ 0x100227969
// > sub_1002279D0 @ 0x1002279d9
// > sub_100227A50 @ 0x100227a59
// > sub_100227B00 @ 0x100227b09
// > sub_100227B70 @ 0x100227b79
// > sub_100227BF0 @ 0x100227bfa
// > sub_100227CB0 @ 0x100227cb9
// > sub_100227D20 @ 0x100227d29
// > AchievementCell::AchievementCell @ 0x100236729
// > LevelCell::create @ 0x100236936
// > LevelCell::LevelCell @ 0x100236a2a
// > MapPackCell::MapPackCell @ 0x10023b2ca
// > StatsCell::StatsCell @ 0x10023ba99
// > SongCell::SongCell @ 0x10023c7b9
// > CustomSongCell::CustomSongCell @ 0x10023c9c9
// > CustomSFXCell::CustomSFXCell @ 0x10023cdb9
// > CustomMusicCell::CustomMusicCell @ 0x10023d3a9
// > OptionsCell::OptionsCell @ 0x10023d4ba
// > ArtistCell::ArtistCell @ 0x10023d639
// > CommentCell::CommentCell @ 0x10023dcf9
// > GJScoreCell::GJScoreCell @ 0x10023e8b9
// > GJLocalLevelScoreCell::GJLocalLevelScoreCell @ 0x10023ed59
// > GJLevelScoreCell::GJLevelScoreCell @ 0x10023ef49
// > GJCompactUserCell::GJCompactUserCell @ 0x10023f379
// > GJRequestCell::GJRequestCell @ 0x100240609
// > GJThreadCell::GJThreadCell @ 0x100240c39
// > GJNotificationCell::GJNotificationCell @ 0x100241419
// > GJMessageCell::GJMessageCell @ 0x100242189
// > SmartTemplateCell::SmartTemplateCell @ 0x100242bd9
// > LevelListCell::create @ 0x1002430b6
// > LevelListCell::LevelListCell @ 0x100243159
// > URLCell::URLCell @ 0x100243419
// > BoomListView::getListCell @ 0x1002f7661
// > BoomListView::getListCell @ 0x1002f76ed
// > sub_1002F7770 @ 0x1002f7779
// > sub_1002F77F0 @ 0x1002f77f9
// > ListCell::ListCell @ 0x1002f7cf9
// > GameCell::GameCell @ 0x1002f7e19
// > sub_1007039F0 @ 0x1007039f5
// > sub_1008F1BF0 @ 0x1008f1c26
// > sub_1008F1CC0 @ 0x1008f1cc9
// > sub_1008F1D40 @ 0x1008f1d49
// > sub_10096F7C0 @ 0x10096f7c9
// > sub_10096F830 @ 0x10096f839
//
// 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 12:35:59 +0000
//
void __fastcall TableViewCell::TableViewCell(__int64 a1, const char *a2, float a3, float a4)
{
std::string *v5; // r15
float v6; // xmm1_4
_QWORD *v7; // rax
_QWORD *v8; // rax
size_t v9; // rax
std::string::size_type v10; // r13
char *data; // r14
size_t v12; // r15
std::string __dst; // [rsp+18h] [rbp-48h] BYREF
std::string *v14; // [rsp+30h] [rbp-30h]
*(float *)&v14 = a4;
cocos2d::CCLayer::CCLayer(a1);
*(_QWORD *)a1 = off_100B974B0;
*(_QWORD *)(a1 + 320) = off_100B97940;
*(_QWORD *)(a1 + 328) = &off_100B979B0;
*(_QWORD *)(a1 + 336) = off_100B979C8;
*(_QWORD *)(a1 + 344) = off_100B979E8;
*(_QWORD *)(a1 + 352) = off_100B97A10;
cocos2d::CCObject::CCObject(a1 + 424);
*(_QWORD *)(a1 + 424) = off_100B96588;
*(_QWORD *)(a1 + 480) = 0;
v5 = (std::string *)(a1 + 496);
*(_OWORD *)(a1 + 496) = 0;
*(_QWORD *)(a1 + 512) = 0;
*(float *)(a1 + 520) = a3;
v6 = *(float *)&v14;
*(_DWORD *)(a1 + 524) = (_DWORD)v14;
*(_DWORD *)&__dst.__r_.__value_.__l.0 = 0;
v7 = cocos2d::CCLayerColor::create((__int64)&__dst, a3, v6);
*(_QWORD *)(a1 + 528) = v7;
(*(void (__fastcall **)(__int64, _QWORD *, __int64))(*(_QWORD *)a1 + 464LL))(a1, v7, 0xFFFFFFFFLL);
v8 = cocos2d::CCLayer::create();
*(_QWORD *)(a1 + 536) = v8;
(*(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)a1 + 456LL))(a1, v8);
v9 = strlen(a2);
if ( v9 >= 0xFFFFFFFFFFFFFFF8LL )
{
v14 = (std::string *)(a1 + 496);
sub_100003630();
}
v10 = v9;
if ( v9 >= 0x17 )
{
v14 = (std::string *)(a1 + 496);
v12 = 26;
if ( (v9 | 7) != 0x17 )
v12 = (v9 | 7) + 1;
data = (char *)operator new(v12);
__dst.__r_.__value_.__r.__words[2] = (std::string::size_type)data;
__dst.__r_.__value_.__r.__words[0] = v12 | 1;
__dst.__r_.__value_.__l.__size_ = v10;
v5 = v14;
goto LABEL_8;
}
__dst.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)(2 * v9);
data = __dst.__r_.__value_.__s.__data_;
if ( v9 )
LABEL_8:
memcpy(data, a2, v10);
data[v10] = 0;
std::string::operator=(v5, &__dst);
*(_BYTE *)(a1 + 488) = 0;
*(_QWORD *)(a1 + 416) = 0;
if ( (*(_BYTE *)&__dst.__r_.__value_.__s.0 & 1) != 0 )
operator delete(__dst.__r_.__value_.__l.__data_);
}