//
// cocos2d::extension::CCTableView::__offsetFromIndex from 0x180015b20 to 0x180015b98 (120 bytes)
//
// 3 xrefs:
// > cocos2d::extension::CCTableView::_setIndexForCell @ 0x180015e6f
// > ??> @ 0x18002fdf8
// > ??> @ 0x18004a854
//
// 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
//
cocos2d::CCPoint *__fastcall cocos2d::extension::CCTableView::__offsetFromIndex(
__int64 a1,
cocos2d::CCPoint *a2,
unsigned int a3)
{
__int64 v4; // rbx
__int64 v6; // rcx
float v7; // xmm2_4
float v8; // xmm1_4
__int64 v9; // rax
char v11; // [rsp+30h] [rbp+8h] BYREF
char v12; // [rsp+38h] [rbp+10h] BYREF
v4 = a3;
cocos2d::CCPoint::CCPoint(a2);
cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v11);
v6 = *(_QWORD *)(a1 + 600);
if ( *(_DWORD *)(a1 + 432) )
{
v7 = *(float *)(v6 + 4 * v4);
v8 = 0.0;
}
else
{
v8 = *(float *)(v6 + 4 * v4);
v7 = 0.0;
}
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v12, v8, v7);
cocos2d::CCPoint::operator=(a2, v9);
return a2;
}