// // cocos2d::extension::CCScrollView::addChild from 0x5a9700 to 0x5a9772 (114 bytes) // // 0 xrefs: // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void cocos2d::extension::CCScrollView::addChild( cocos2d::extension::CCScrollView *a1, cocos2d::CCNode *a2, int a3, int a4) { void (__fastcall *setAnchorPoint)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r10 cocos2d::CCNode *m_pContainer; // r1 cocos2d::CCPoint v10; // [sp+4h] [bp-Ch] BYREF int v11; // [sp+Ch] [bp-4h] LODWORD(v10.x) = a2; LODWORD(v10.y) = a3; v11 = a4; a2->ignoreAnchorPointForPosition(a2, 0); setAnchorPoint = a2->setAnchorPoint; cocos2d::CCPoint::CCPoint(&v10, 0.0, 0.0); setAnchorPoint(a2, &v10); m_pContainer = a1->m_pContainer; if ( m_pContainer == a2 ) cocos2d::CCNode::addChild(a1); else m_pContainer->addChild_1(a1->m_pContainer, a2, a3, a4); }
GD Web Decomp Icon

GD Web Decomp

Raw Source