// // cocos2d::extension::CCTableView::_offsetFromIndex from 0xaa7868 to 0xaa791c (180 bytes) // // 2 xrefs: // > cocos2d::extension::CCTableView::_setIndexForCell @ 0xaa7b40 // > @ 0xb5620 // // 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 cocos2d::extension::CCTableView::_offsetFromIndex( cocos2d::extension::CCTableView *a1, unsigned int a2) { __int64 v2; // x8 __int64 v4; // x21 cocos2d::CCNode *Container; // x0 __int64 v8; // x0 __int64 v9; // [xsp+38h] [xbp+38h] __int64 v10; // [xsp+40h] [xbp+40h] BYREF cocos2d::CCPoint v11; // 0:kr00_8.8 cocos2d::CCPoint result; // 0:s0.4,4:s1.4 v4 = v2; v9 = a2; v11 = cocos2d::extension::CCTableView::__offsetFromIndex(a1, a2); (*(void (__fastcall **)(__int64 *__return_ptr, _QWORD, cocos2d::extension::CCTableView *, __int64, float, float))(**(_QWORD **)&a1[1].m_fScaleX + 16LL))( &v10, *(_QWORD *)&a1[1].m_fScaleX, a1, v9, v11.x, v11.y); if ( !a1[1].m_uID ) { Container = cocos2d::extension::CCScrollView::getContainer(a1); v8 = (__int64)Container->getContentSize(Container); result.y = *((float *)&v10 + 1); result.x = (float)(*(float *)(v8 + 4) - *(float *)(v4 + 4)) - *((float *)&v10 + 1); *(float *)(v4 + 4) = result.x; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source