// // BoomScrollLayer::updatePages from 0x14003d890 to 0x14003d9aa (282 bytes) // // 4 xrefs: // > BoomScrollLayer::init @ 0x14003d4f6 // > @ 0x140661c2c // > @ 0x140661c3c // > @ 0x1406c3f90 // // 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 BoomScrollLayer::updatePages(BoomScrollLayer *a1) { unsigned int i; // edi cocos2d::CCNode *v3; // r14 cocos2d::CCNode_vtbl *v4; // rbx const cocos2d::CCPoint *v5; // rax cocos2d::CCNode_vtbl *v6; // rbx cocos2d::CCDirector *v7; // rax struct cocos2d::CCSize WinSize; // rax float m_pageOffset; // xmm6_4 cocos2d::CCNode_vtbl *v10; // rbx const cocos2d::CCSize *v11; // rax const cocos2d::CCPoint *v12; // rax cocos2d::CCPoint v13; // [rsp+50h] [rbp+8h] BYREF cocos2d::CCPoint v14; // [rsp+60h] [rbp+18h] BYREF for ( i = 0; i < cocos2d::CCArray::count(a1->m_pages); ++i ) { v3 = (cocos2d::CCNode *)cocos2d::CCArray::objectAtIndex(a1->m_pages, i); v4 = v3->__vftable; v5 = (const cocos2d::CCPoint *)cocos2d::CCPoint::CCPoint(&v13, 0.0, 0.0); v4->setAnchorPoint(v3, v5); v6 = v3->__vftable; v7 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(); WinSize = cocos2d::CCDirector::getWinSize(v7); ((void (__fastcall *)(cocos2d::CCNode *, struct cocos2d::CCSize))v6->setContentSize)(v3, WinSize); m_pageOffset = a1->m_pageOffset; v10 = v3->__vftable; v11 = a1->getContentSize(a1); v12 = (const cocos2d::CCPoint *)cocos2d::CCPoint::CCPoint( &v14, (float)(v11->width - m_pageOffset) * (float)(int)i, 0.0); v10->setPosition_0(v3, v12); if ( !v3->getParent(v3) ) a1->m_extendedLayer->addChild_1(a1->m_extendedLayer, v3); } }