// // cocos2d::extension::CCScrollView::relocateContainer from 0x7ae3a4 to 0x7ae4b2 (270 bytes) // // 1 xrefs: // > cocos2d::extension::CCScrollView::deaccelerateScrolling @ 0x7ae6e4 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:00:04 +0000 // int __fastcall cocos2d::extension::CCScrollView::relocateContainer(cocos2d::extension::CCScrollView *this, int a2) { int v4; // r0 int result; // r0 int v6; // r3 float v7; // s15 float v8; // s14 float v9; // s13 float v10; // s15 float v11; // [sp+4h] [bp+0h] BYREF float v12; // [sp+8h] [bp+4h] float v13; // [sp+Ch] [bp+8h] BYREF float v14; // [sp+10h] [bp+Ch] float v15; // [sp+14h] [bp+10h] BYREF float v16; // [sp+18h] [bp+14h] float v17[2]; // [sp+1Ch] [bp+18h] BYREF cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v11); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v13); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v15); cocos2d::extension::CCScrollView::minContainerOffset((cocos2d::extension::CCScrollView *)v17, (int)this); cocos2d::CCPoint::operator=(&v13, v17); cocos2d::extension::CCScrollView::maxContainerOffset((cocos2d::extension::CCScrollView *)v17); cocos2d::CCPoint::operator=(&v15, v17); v4 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 87) + 96))(*((_DWORD *)this + 87)); result = cocos2d::CCPoint::operator=(&v11, v4); v6 = *((_DWORD *)this + 83); if ( (v6 & 0xFFFFFFFD) != 0 ) { v8 = v11; } else { v7 = v13; v8 = v15; if ( v11 >= v13 ) v7 = v11; if ( v7 <= v15 ) v8 = v7; } if ( (unsigned int)(v6 - 1) > 1 ) { v10 = v12; } else { v9 = v16; v10 = v14; if ( v12 <= v16 ) v9 = v12; if ( v9 >= v14 ) v10 = v9; } if ( v10 != v12 || v8 != v11 ) { cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, v8, v10); return cocos2d::extension::CCScrollView::setContentOffset((int)this, v17, a2); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source