//
// cocos2d::extension::CCTableView::__offsetFromIndex from 0x10042d4f0 to 0x10042d56a (122 bytes)
//
// 0 xrefs:
//
// 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
//
// local variable allocation has failed, the output may be wrong!
cocos2d::CCPoint __fastcall cocos2d::extension::CCTableView::__offsetFromIndex(
cocos2d::extension::CCTableView *a1,
unsigned int a2)
{
unsigned int v2; // edx
unsigned int v3; // r15d
float v4; // xmm1_4
float v5; // xmm0_4
__int64 v7; // [rsp+8h] [rbp-28h] BYREF
double v8[4]; // [rsp+10h] [rbp-20h] BYREF
cocos2d::CCPoint result; // 0:xmm0_8.8
v3 = v2;
sub_10028CC30(a1);
sub_10028CF90(&v7);
if ( *(_DWORD *)(*(_QWORD *)&a2 + 424LL) )
{
v4 = *(float *)(*(_QWORD *)(*(_QWORD *)&a2 + 600LL) + 4LL * v3);
v5 = 0.0;
}
else
{
v5 = *(float *)(*(_QWORD *)(*(_QWORD *)&a2 + 600LL) + 4LL * v3);
v4 = 0.0;
}
sub_10028CBE0((float *)v8, v5, v4);
*(double *)&result = sub_10028CC90(a1, v8);
return result;
}