//
// cocos2d::extension::CCTableView::__offsetFromIndex from 0x180015720 to 0x180015798 (120 bytes)
//
// 3 xrefs:
// > cocos2d::extension::CCTableView::_setIndexForCell @ 0x180015a5f
// > ??> @ 0x180032408
// > ??> @ 0x18004c788
//
// 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:15:41 +0000
//
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;
}