//
// cocos2d::extension::CCScrollView::setContainer from 0x7af318 to 0x7af396 (126 bytes)
//
// 0 xrefs:
//
// 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:05 +0000
//
int __fastcall cocos2d::extension::CCScrollView::setContainer(int this, cocos2d::CCNode *a2, int a3, int a4)
{
cocos2d::CCNode *v4; // r4
int v6; // r7
void (__fastcall *v7)(int, _DWORD *); // r8
_DWORD v8[3]; // [sp+4h] [bp-Ch] BYREF
v8[0] = a2;
v8[1] = a3;
v8[2] = a4;
v4 = (cocos2d::CCNode *)this;
if ( a2 )
{
(*(void (__fastcall **)(int, int))(*(_DWORD *)this + 292))(this, 1);
*((_DWORD *)v4 + 87) = a2;
(*(void (__fastcall **)(cocos2d::CCNode *, _DWORD))(*(_DWORD *)a2 + 220))(a2, 0);
v6 = *((_DWORD *)v4 + 87);
v7 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v6 + 148);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v8, 0.0, 0.0);
v7(v6, v8);
(*(void (__fastcall **)(cocos2d::CCNode *, _DWORD))(*(_DWORD *)v4 + 228))(v4, *((_DWORD *)v4 + 87));
cocos2d::CCSize::CCSize((cocos2d::CCSize *)v8, (cocos2d::CCNode *)((char *)v4 + 400));
return cocos2d::extension::CCScrollView::setViewSize(v4, (const cocos2d::CCSize *)v8);
}
return this;
}