// // cocos2d::extension::CCScrollView::addChild from 0xaa72a8 to 0xaa7374 (204 bytes) // // 3 xrefs: // > @ 0xc6300 // > @ 0x11f9318 // > @ 0x11f9988 // // 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 // // local variable allocation has failed, the output may be wrong! 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 *); // x21 cocos2d::CCNode *m_pContainer; // x1 int v8[2]; // [xsp+38h] [xbp+38h] int v9[2]; // [xsp+40h] [xbp+40h] cocos2d::CCPoint v10; // [xsp+50h] [xbp+50h] BYREF *(_QWORD *)v8 = *(_QWORD *)&a3; *(_QWORD *)v9 = *(_QWORD *)&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, *(_QWORD *)v8, *(_QWORD *)v9); }
GD Web Decomp Icon

GD Web Decomp

Raw Source