// // cocos2d::extension::CCScrollView::setContainer from 0x1800127e0 to 0x180012899 (185 bytes) // // 4 xrefs: // > @ 0x180030e70 // > @ 0x180030e80 // > @ 0x180032408 // > @ 0x18004c338 // // 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::setContainer( cocos2d::extension::CCScrollView *this, struct cocos2d::CCNode *a2) { struct cocos2d::CCNode *v2; // rbx __int64 *v4; // rdi __int64 v5; // rbx __int64 v6; // rax const struct cocos2d::CCSize *v7; // rbx char v8; // [rsp+38h] [rbp+10h] BYREF if ( a2 ) { v2 = a2; LOBYTE(a2) = 1; (*(void (__fastcall **)(cocos2d::extension::CCScrollView *, struct cocos2d::CCNode *))(*(_QWORD *)this + 576LL))( this, a2); *((_QWORD *)this + 56) = v2; (*(void (__fastcall **)(struct cocos2d::CCNode *, _QWORD))(*(_QWORD *)v2 + 432LL))(v2, 0); v4 = *((__int64 **)this + 56); v5 = *v4; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v8, 0.0, 0.0); (*(void (__fastcall **)(__int64 *, __int64))(v5 + 288))(v4, v6); (*(void (__fastcall **)(cocos2d::extension::CCScrollView *, _QWORD))(*(_QWORD *)this + 464LL))( this, *((_QWORD *)this + 56)); v7 = (const struct cocos2d::CCSize *)cocos2d::CCSize::CCSize( (cocos2d::CCSize *)&v8, (cocos2d::extension::CCScrollView *)((char *)this + 512)); cocos2d::CCSize::operator=((char *)this + 512, v7); cocos2d::CCNode::setContentSize(this, v7); } }