//
// cocos2d::extension::CCScrollView::addChild from 0x7af39c to 0x7af40e (114 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::addChild(
cocos2d::extension::CCScrollView *this,
cocos2d::CCNode *a2,
int a3,
int a4)
{
void (__fastcall *v8)(cocos2d::CCNode *, _DWORD *); // r10
cocos2d::CCNode *v9; // r1
_DWORD v11[3]; // [sp+4h] [bp-Ch] BYREF
v11[0] = a2;
v11[1] = a3;
v11[2] = a4;
(*(void (__fastcall **)(cocos2d::CCNode *, _DWORD))(*(_DWORD *)a2 + 220))(a2, 0);
v8 = *(void (__fastcall **)(cocos2d::CCNode *, _DWORD *))(*(_DWORD *)a2 + 148);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, 0.0, 0.0);
v8(a2, v11);
v9 = *((cocos2d::CCNode **)this + 87);
if ( v9 == a2 )
return cocos2d::CCNode::addChild(this, v9, a3, a4);
else
return (*(int (__fastcall **)(_DWORD, cocos2d::CCNode *, int, int))(*(_DWORD *)v9 + 236))(
*((_DWORD *)this + 87),
a2,
a3,
a4);
}