//
// TableView::initTableViewCells from 0x1006fe4d0 to 0x1006fe7c8 (760 bytes)
//
// 0 xrefs:
//
// 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:57 +0000
//
void __fastcall TableView::initTableViewCells(__int64 a1)
{
__int64 v2; // rdi
unsigned int i; // r13d
int v4; // r12d
char *v5; // r15
__int64 v6; // r13
__int64 v7; // rax
__int64 v8; // rax
__int64 v9; // rax
__int64 v10; // r14
float *v11; // rax
__int128 v12; // xmm0
__int128 v13; // xmm1
__int64 v14; // rdi
__int64 v15; // rdi
__int64 v16; // [rsp+0h] [rbp-60h] BYREF
__int64 (__fastcall **v17)(); // [rsp+8h] [rbp-58h]
float v18; // [rsp+10h] [rbp-50h]
int v19; // [rsp+14h] [rbp-4Ch]
unsigned int v20; // [rsp+18h] [rbp-48h]
int v21; // [rsp+1Ch] [rbp-44h]
__int64 v22; // [rsp+20h] [rbp-40h]
__int64 v23; // [rsp+2Ch] [rbp-34h] BYREF
float v24; // [rsp+34h] [rbp-2Ch]
if ( *(_QWORD *)(a1 + 616) )
{
v2 = *(_QWORD *)(a1 + 624);
if ( v2 )
{
v21 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 8LL))(v2, a1);
if ( v21 > 0 )
{
v22 = 0;
v17 = off_100B96588;
for ( i = 0; i != v21; ++i )
{
v19 = (***(__int64 (__fastcall ****)(_QWORD, _QWORD, __int64))(a1 + 624))(*(_QWORD *)(a1 + 624), i, a1);
if ( v19 > 0 )
{
v4 = 0;
v20 = i;
do
{
v5 = (char *)operator new(0x40u);
cocos2d::CCObject::CCObject((__int64)v5);
*(_QWORD *)v5 = v17;
*((_DWORD *)v5 + 14) = v4;
*((_DWORD *)v5 + 15) = i;
cocos2d::CCObject::autorelease((__int64)v5);
v24 = (*(float (__fastcall **)(_QWORD, char *, __int64))(**(_QWORD **)(a1 + 616) + 40LL))(
*(_QWORD *)(a1 + 616),
v5,
a1);
sub_1002782A0(&v23);
v6 = v22;
if ( v22 )
{
v18 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v22 + 192LL))(v22);
v7 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 192LL))(v6);
sub_100278250((float *)&v16, v18, *(float *)(v7 + 4) - v24);
sub_100278300(&v23, &v16);
if ( *((float *)&v23 + 1) < 0.0 )
return;
}
else
{
v8 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 488) + 328LL))(*(_QWORD *)(a1 + 488));
*((float *)&v23 + 1) = (float)(*(float *)(v8 + 4) - (float)((float)v4 * v24)) - v24;
if ( *((float *)&v23 + 1) < 0.0 )
return;
}
v9 = (*(__int64 (__fastcall **)(_QWORD, char *, __int64))(**(_QWORD **)(a1 + 624) + 24LL))(
*(_QWORD *)(a1 + 624),
v5,
a1);
if ( v9 )
{
v10 = v9;
sub_100278250((float *)&v16, 0.0, 1.0);
(*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v10 + 296LL))(v10, &v16);
v11 = (float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 328LL))(a1);
sub_100278260((float *)&v16, *v11 * 0.5, v24);
(*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v10 + 320LL))(v10, &v16);
sub_100278250((float *)&v16, 0.0, *((float *)&v23 + 1));
(*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v10 + 184LL))(v10, &v16);
v12 = *(_OWORD *)(v5 + 8);
v13 = *(_OWORD *)(v5 + 24);
*(_OWORD *)(v10 + 464) = *(_OWORD *)(v5 + 40);
*(_OWORD *)(v10 + 448) = v13;
*(_OWORD *)(v10 + 432) = v12;
*(_QWORD *)(v10 + 480) = *((_QWORD *)v5 + 7);
sub_1007FEBF0(*(_QWORD *)(a1 + 592), v10);
sub_1007FEBF0(*(_QWORD *)(a1 + 608), v5);
v14 = *(_QWORD *)(a1 + 616);
if ( v14 )
(*(void (__fastcall **)(__int64, char *, __int64, __int64))(*(_QWORD *)v14 + 16LL))(v14, v5, v10, a1);
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 488) + 456LL))(*(_QWORD *)(a1 + 488), v10);
v15 = *(_QWORD *)(a1 + 616);
if ( v15 )
(*(void (__fastcall **)(__int64, char *, __int64, __int64))(*(_QWORD *)v15 + 24LL))(v15, v5, v10, a1);
v22 = v10;
}
++v4;
i = v20;
}
while ( v19 != v4 );
}
}
}
}
}
}