//
// CustomListView::getListCell from 0x100125540 to 0x100125da8 (2152 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008de858
//
// This function is hookable on this platform (idp: arm, 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 10:59:17 +0000
//
__int64 __fastcall CustomListView::getListCell(__int64 a1, char *a2)
{
unsigned int v4; // w19
float v5; // s0
float v6; // s8
char *v7; // x19
__int64 (__fastcall **v8)(); // x8
_OWORD *v9; // x8
__int64 (__fastcall **v10)(); // x8
__int64 (__fastcall **v11)(); // x8
__int64 (__fastcall **v12)(); // x8
__int16 v13; // w8
__int64 result; // x0
v4 = *(_DWORD *)(a1 + 440);
sub_100125E38(v4);
v6 = v5;
switch ( v4 )
{
case 2u:
v7 = (char *)operator new(0x228u);
TableViewCell::TableViewCell((__int64)v7, a2, *(float *)(a1 + 448), v6);
v11 = &off_1008D77A8;
goto LABEL_21;
case 3u:
v7 = (char *)operator new(0x228u);
TableViewCell::TableViewCell((__int64)v7, a2, *(float *)(a1 + 448), v6);
v11 = &off_1008D66F8;
LABEL_21:
*(_QWORD *)v7 = v11;
*((_QWORD *)v7 + 40) = v11 + 146;
*((_QWORD *)v7 + 41) = v11 + 160;
*((_QWORD *)v7 + 42) = v11 + 163;
*((_QWORD *)v7 + 43) = v11 + 167;
*((_QWORD *)v7 + 44) = v11 + 172;
goto LABEL_39;
case 4u:
case 5u:
v7 = (char *)operator new(0x260u);
LevelCell::LevelCell(v7, a2, *(float *)(a1 + 448), v6);
goto LABEL_39;
case 6u:
case 0xFu:
v7 = (char *)operator new(0x260u);
TableViewCell::TableViewCell((__int64)v7, a2, *(float *)(a1 + 448), v6);
*(_QWORD *)v7 = off_1008D9FE0;
*((_QWORD *)v7 + 40) = off_1008DA480;
*((_QWORD *)v7 + 41) = &off_1008DA4F0;
*((_QWORD *)v7 + 42) = off_1008DA508;
*((_QWORD *)v7 + 43) = &off_1008DA528;
*((_QWORD *)v7 + 44) = off_1008DA550;
*((_QWORD *)v7 + 69) = &off_1008DA580;
*((_QWORD *)v7 + 70) = &off_1008DA598;
v7[594] = 0;
*((_QWORD *)v7 + 75) = 0;
*((_QWORD *)v7 + 71) = 0;
*((_QWORD *)v7 + 73) = 0;
*((_QWORD *)v7 + 72) = 0;
goto LABEL_39;
case 7u:
case 8u:
v7 = (char *)operator new(0x260u);
TableViewCell::TableViewCell((__int64)v7, a2, *(float *)(a1 + 448), v6);
*(_QWORD *)v7 = off_1008D9FE0;
*((_QWORD *)v7 + 40) = off_1008DA480;
*((_QWORD *)v7 + 41) = &off_1008DA4F0;
*((_QWORD *)v7 + 42) = off_1008DA508;
*((_QWORD *)v7 + 43) = &off_1008DA528;
*((_QWORD *)v7 + 44) = off_1008DA550;
*((_QWORD *)v7 + 69) = &off_1008DA580;
*((_QWORD *)v7 + 70) = &off_1008DA598;
*((_QWORD *)v7 + 75) = 0;
*((_QWORD *)v7 + 71) = 0;
*((_QWORD *)v7 + 73) = 0;
*((_QWORD *)v7 + 72) = 0;
v7[594] = 1;
goto LABEL_39;
case 0xBu:
v7 = (char *)operator new(0x230u);
TableViewCell::TableViewCell((__int64)v7, a2, *(float *)(a1 + 448), v6);
v8 = &off_1008D7D38;
goto LABEL_26;
case 0xCu:
v7 = (char *)operator new(0x238u);
TableViewCell::TableViewCell((__int64)v7, a2, *(float *)(a1 + 448), v6);
*(_QWORD *)v7 = &off_1008DA5B0;
*((_QWORD *)v7 + 40) = off_1008DAA48;
*((_QWORD *)v7 + 41) = &off_1008DAAB8;
*((_QWORD *)v7 + 42) = off_1008DAAD0;
*((_QWORD *)v7 + 43) = &off_1008DAAF0;
*((_QWORD *)v7 + 44) = off_1008DAB18;
v12 = &off_1008DAB48;
goto LABEL_31;
case 0xDu:
v7 = (char *)operator new(0x250u);
sub_100136AC8(v7, a2, *(float *)(a1 + 448), v6);
goto LABEL_39;
case 0xEu:
v7 = (char *)operator new(0x240u);
TableViewCell::TableViewCell((__int64)v7, a2, *(float *)(a1 + 448), v6);
v10 = &off_1008D82C8;
goto LABEL_30;
case 0x10u:
v7 = (char *)operator new(0x240u);
TableViewCell::TableViewCell((__int64)v7, a2, *(float *)(a1 + 448), v6);
*(_QWORD *)v7 = off_1008DBC10;
*((_QWORD *)v7 + 40) = off_1008DC0A0;
*((_QWORD *)v7 + 41) = &off_1008DC110;
*((_QWORD *)v7 + 42) = off_1008DC128;
*((_QWORD *)v7 + 43) = &off_1008DC148;
*((_QWORD *)v7 + 44) = off_1008DC170;
v9 = v7 + 552;
v7[568] = 0;
goto LABEL_35;
case 0x11u:
v7 = (char *)operator new(0x258u);
TableViewCell::TableViewCell((__int64)v7, a2, *(float *)(a1 + 448), v6);
*(_QWORD *)v7 = off_1008DCCE0;
*((_QWORD *)v7 + 40) = off_1008DD190;
*((_QWORD *)v7 + 41) = &off_1008DD200;
*((_QWORD *)v7 + 42) = off_1008DD218;
*((_QWORD *)v7 + 43) = &off_1008DD238;
*((_QWORD *)v7 + 44) = off_1008DD260;
*((_QWORD *)v7 + 69) = &off_1008DD290;
*((_QWORD *)v7 + 70) = &off_1008DD2A8;
*((_QWORD *)v7 + 71) = off_1008DD2C0;
*((_QWORD *)v7 + 72) = 0;
*((_QWORD *)v7 + 74) = 0;
*((_QWORD *)v7 + 73) = 0;
goto LABEL_39;
case 0x12u:
v7 = (char *)operator new(0x230u);
TableViewCell::TableViewCell((__int64)v7, a2, *(float *)(a1 + 448), v6);
v8 = &off_1008DB0F0;
goto LABEL_26;
case 0x13u:
v7 = (char *)operator new(0x230u);
TableViewCell::TableViewCell((__int64)v7, a2, *(float *)(a1 + 448), v6);
v8 = &off_1008D9A50;
goto LABEL_26;
case 0x14u:
v7 = (char *)operator new(0x230u);
TableViewCell::TableViewCell((__int64)v7, a2, *(float *)(a1 + 448), v6);
v8 = &off_1008DD2E0;
goto LABEL_26;
case 0x15u:
v7 = (char *)operator new(0x240u);
TableViewCell::TableViewCell((__int64)v7, a2, *(float *)(a1 + 448), v6);
*(_QWORD *)v7 = &off_1008D88A8;
*((_QWORD *)v7 + 40) = off_1008D8D80;
*((_QWORD *)v7 + 41) = &off_1008D8DF0;
*((_QWORD *)v7 + 42) = off_1008D8E08;
*((_QWORD *)v7 + 43) = &off_1008D8E28;
*((_QWORD *)v7 + 44) = off_1008D8E50;
*((_QWORD *)v7 + 69) = off_1008D8E80;
*((_QWORD *)v7 + 70) = 0;
*(_DWORD *)(v7 + 567) = 0;
goto LABEL_39;
case 0x16u:
v7 = (char *)operator new(0x240u);
TableViewCell::TableViewCell((__int64)v7, a2, *(float *)(a1 + 448), v6);
*(_QWORD *)v7 = &off_1008D88A8;
*((_QWORD *)v7 + 40) = off_1008D8D80;
*((_QWORD *)v7 + 41) = &off_1008D8DF0;
*((_QWORD *)v7 + 42) = off_1008D8E08;
*((_QWORD *)v7 + 43) = &off_1008D8E28;
*((_QWORD *)v7 + 44) = off_1008D8E50;
*((_QWORD *)v7 + 69) = off_1008D8E80;
*(_DWORD *)(v7 + 567) = 0;
*((_QWORD *)v7 + 70) = 0;
v7[570] = 1;
goto LABEL_39;
case 0x17u:
v7 = (char *)operator new(0x240u);
TableViewCell::TableViewCell((__int64)v7, a2, *(float *)(a1 + 448), v6);
v10 = &off_1008D8EE0;
LABEL_30:
*(_QWORD *)v7 = v10;
*((_QWORD *)v7 + 40) = v10 + 150;
*((_QWORD *)v7 + 41) = v10 + 164;
*((_QWORD *)v7 + 42) = v10 + 167;
*((_QWORD *)v7 + 43) = v10 + 171;
*((_QWORD *)v7 + 44) = v10 + 176;
v12 = v10 + 182;
LABEL_31:
*((_QWORD *)v7 + 69) = v12;
*((_QWORD *)v7 + 70) = 0;
goto LABEL_39;
case 0x18u:
v7 = (char *)operator new(0x230u);
sub_1001380C0(v7, a2, *(float *)(a1 + 448), v6);
goto LABEL_39;
case 0x19u:
case 0x1Bu:
v7 = (char *)operator new(0x238u);
TableViewCell::TableViewCell((__int64)v7, a2, *(float *)(a1 + 448), v6);
*(_QWORD *)v7 = off_1008DD870;
*((_QWORD *)v7 + 40) = off_1008DDD00;
*((_QWORD *)v7 + 41) = &off_1008DDD70;
*((_QWORD *)v7 + 42) = off_1008DDD88;
*((_QWORD *)v7 + 43) = &off_1008DDDA8;
*((_QWORD *)v7 + 44) = off_1008DDDD0;
*((_QWORD *)v7 + 69) = 0;
*((_WORD *)v7 + 280) = 0;
goto LABEL_39;
case 0x1Au:
case 0x1Du:
v7 = (char *)operator new(0x260u);
LevelCell::LevelCell(v7, a2, *(float *)(a1 + 448), v6);
v7[600] = 1;
goto LABEL_39;
case 0x1Cu:
v7 = (char *)operator new(0x238u);
TableViewCell::TableViewCell((__int64)v7, a2, *(float *)(a1 + 448), v6);
*(_QWORD *)v7 = off_1008DD870;
*((_QWORD *)v7 + 40) = off_1008DDD00;
*((_QWORD *)v7 + 41) = &off_1008DDD70;
*((_QWORD *)v7 + 42) = off_1008DDD88;
*((_QWORD *)v7 + 43) = &off_1008DDDA8;
*((_QWORD *)v7 + 44) = off_1008DDDD0;
*((_QWORD *)v7 + 69) = 0;
v13 = 1;
goto LABEL_38;
case 0x1Fu:
v7 = (char *)operator new(0x230u);
TableViewCell::TableViewCell((__int64)v7, a2, *(float *)(a1 + 448), v6);
v8 = &off_1008DAB60;
goto LABEL_26;
case 0x20u:
v7 = (char *)operator new(0x230u);
TableViewCell::TableViewCell((__int64)v7, a2, *(float *)(a1 + 448), v6);
v8 = &off_1008DDE00;
goto LABEL_26;
case 0x21u:
v7 = (char *)operator new(0x230u);
sub_1003159C8(v7, a2, *(float *)(a1 + 448), v6);
goto LABEL_39;
case 0x22u:
v7 = (char *)operator new(0x248u);
sub_1004CE474(v7, a2, *(float *)(a1 + 448), v6);
goto LABEL_39;
case 0x23u:
v7 = (char *)operator new(0x248u);
sub_1004CE474(v7, a2, *(float *)(a1 + 448), v6);
v7[576] = 1;
goto LABEL_39;
case 0x24u:
v7 = (char *)operator new(0x238u);
TableViewCell::TableViewCell((__int64)v7, a2, *(float *)(a1 + 448), v6);
*(_QWORD *)v7 = off_1008DC1A0;
*((_QWORD *)v7 + 40) = off_1008DC630;
*((_QWORD *)v7 + 41) = &off_1008DC6A0;
*((_QWORD *)v7 + 42) = off_1008DC6B8;
*((_QWORD *)v7 + 43) = &off_1008DC6D8;
*((_QWORD *)v7 + 44) = off_1008DC700;
v9 = v7 + 552;
LABEL_35:
*v9 = 0u;
goto LABEL_39;
case 0x25u:
v7 = (char *)operator new(0x260u);
LevelCell::LevelCell(v7, a2, *(float *)(a1 + 448), v6);
v7[600] = 1;
*((_WORD *)v7 + 284) = 257;
goto LABEL_39;
case 0x26u:
v7 = (char *)operator new(0x230u);
TableViewCell::TableViewCell((__int64)v7, a2, *(float *)(a1 + 448), v6);
v8 = off_1008DB680;
LABEL_26:
*(_QWORD *)v7 = v8;
*((_QWORD *)v7 + 40) = v8 + 146;
*((_QWORD *)v7 + 41) = v8 + 160;
*((_QWORD *)v7 + 42) = v8 + 163;
*((_QWORD *)v7 + 43) = v8 + 167;
*((_QWORD *)v7 + 44) = v8 + 172;
*((_QWORD *)v7 + 69) = 0;
goto LABEL_39;
case 0x27u:
v7 = (char *)operator new(0x238u);
TableViewCell::TableViewCell((__int64)v7, a2, *(float *)(a1 + 448), v6);
*(_QWORD *)v7 = off_1008DD870;
*((_QWORD *)v7 + 40) = off_1008DDD00;
*((_QWORD *)v7 + 41) = &off_1008DDD70;
*((_QWORD *)v7 + 42) = off_1008DDD88;
*((_QWORD *)v7 + 43) = &off_1008DDDA8;
*((_QWORD *)v7 + 44) = off_1008DDDD0;
*((_QWORD *)v7 + 69) = 0;
v13 = 257;
LABEL_38:
*((_WORD *)v7 + 280) = v13;
goto LABEL_39;
case 0x28u:
v7 = (char *)operator new(0x240u);
TableViewCell::TableViewCell((__int64)v7, a2, *(float *)(a1 + 448), v6);
*(_QWORD *)v7 = off_1008DC730;
*((_QWORD *)v7 + 40) = off_1008DCBC8;
*((_QWORD *)v7 + 41) = &off_1008DCC38;
*((_QWORD *)v7 + 42) = off_1008DCC50;
*((_QWORD *)v7 + 43) = &off_1008DCC70;
*((_QWORD *)v7 + 44) = off_1008DCC98;
*((_QWORD *)v7 + 69) = &off_1008DCCC8;
*((_OWORD *)v7 + 35) = 0u;
LABEL_39:
result = (__int64)v7;
break;
default:
result = BoomListView::getListCell(a1, a2);
break;
}
return result;
}