// // cocos2d::extension::CCScrollView::updateInset from 0x5a8a20 to 0x5a8ada (186 bytes) // // 1 xrefs: // > cocos2d::extension::CCScrollView::setContentSize @ 0x5a8b06 // // 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 // void cocos2d::extension::CCScrollView::updateInset(cocos2d::extension::CCScrollView *a1) { int v2; // r2 bool v3; // r3 int v4; // r2 bool v5; // r3 int v6; // r2 bool v7; // r3 int v8; // r2 bool v9; // r3 cocos2d::CCPoint v10; // [sp+4h] [bp-10h] BYREF if ( cocos2d::extension::CCScrollView::getContainer(a1) ) { cocos2d::extension::CCScrollView::maxContainerOffset(&v10, a1); cocos2d::CCPoint::operator=((PlayerObject *)&a1->m_fMaxInset, COERCE_FLOAT(&v10), v2, v3); cocos2d::CCPoint::CCPoint( &v10, a1->m_fMaxInset.x + (float)(a1->m_tViewSize.width * 0.2), a1->m_fMaxInset.y + (float)(a1->m_tViewSize.height * 0.2)); cocos2d::CCPoint::operator=((PlayerObject *)&a1->m_fMaxInset, COERCE_FLOAT(&v10), v4, v5); cocos2d::extension::CCScrollView::minContainerOffset(&v10, a1); cocos2d::CCPoint::operator=((PlayerObject *)&a1->m_fMinInset, COERCE_FLOAT(&v10), v6, v7); cocos2d::CCPoint::CCPoint( &v10, a1->m_fMinInset.x - (float)(a1->m_tViewSize.width * 0.2), a1->m_fMinInset.y - (float)(a1->m_tViewSize.height * 0.2)); cocos2d::CCPoint::operator=((PlayerObject *)&a1->m_fMinInset, COERCE_FLOAT(&v10), v8, v9); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source