// // cocos2d::extension::CCScrollView::relocateContainer from 0x1800128a0 to 0x18001299e (254 bytes) // // 3 xrefs: // > cocos2d::extension::CCScrollView::deaccelerateScrolling @ 0x180012da7 // > @ 0x180032408 // > @ 0x18004c35c // // 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:40 +0000 // void __fastcall cocos2d::extension::CCScrollView::relocateContainer(cocos2d::extension::CCScrollView *this, char a2) { __int64 v4; // rax __int64 v5; // rax float v6; // xmm1_4 float v7; // xmm2_4 int v8; // eax float *v9; // rax _BYTE v10[24]; // [rsp+20h] [rbp-18h] BYREF float v11; // [rsp+40h] [rbp+8h] BYREF float v12; // [rsp+44h] [rbp+Ch] float v13; // [rsp+50h] [rbp+18h] BYREF float v14; // [rsp+54h] [rbp+1Ch] float v15; // [rsp+58h] [rbp+20h] BYREF float v16; // [rsp+5Ch] [rbp+24h] cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v11); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v15); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v13); cocos2d::extension::CCScrollView::minContainerOffset(this, v10); cocos2d::CCPoint::operator=(&v15, v4); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, 0.0, 0.0); cocos2d::CCPoint::operator=(&v13, v10); v5 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 56) + 200LL))(*((_QWORD *)this + 56)); cocos2d::CCPoint::operator=(&v11, v5); v6 = v11; v7 = v12; v8 = *((_DWORD *)this + 108); if ( v8 == 2 || !v8 ) v6 = fminf(fmaxf(v11, v15), v13); if ( (unsigned int)(v8 - 1) <= 1 ) v7 = fmaxf(fminf(v12, v14), v16); if ( v7 != v12 || v6 != v11 ) { cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, v6, v7); cocos2d::extension::CCScrollView::setContentOffset((__int64)this, v9, a2); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source