// // BoomScrollLayer::updatePages from 0x1003a50d0 to 0x1003a51e8 (280 bytes) // // 5 xrefs: // > BoomScrollLayer::init @ 0x1003a4e59 // > BoomScrollLayer::addPage_1 @ 0x1003a692a // > BoomScrollLayer::addPage @ 0x1003a699e // > BoomScrollLayer::removePage @ 0x1003a69f5 // > BoomScrollLayer::removePageWithNumber @ 0x1003a6ab3 // // 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 __fastcall BoomScrollLayer::updatePages(BoomScrollLayer *a1) { unsigned int v1; // r14d __int64 v2; // r12 float *v3; // rax float v4; // [rsp+4h] [rbp-2Ch] BYREF float v5; // [rsp+Ch] [rbp-24h] double v6; // 0:xmm0_8.8 if ( (unsigned int)sub_100720070(a1->m_pages) ) { v1 = 0; do { v2 = sub_1007200C0(a1->m_pages, v1); sub_10028CBE0(&v4, 0.0, 0.0); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v2 + 280LL))(v2, &v4); cocos2d::CCDirector::sharedDirector(); *(cocos2d::CCSize *)&v6 = cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)&v4); (*(void (__fastcall **)(__int64, float *, double))(*(_QWORD *)v2 + 304LL))(v2, &v4, v6); v5 = (float)(int)v1; v3 = (float *)((__int64 (__fastcall *)(BoomScrollLayer *))a1->getContentSize)(a1); sub_10028CBE0(&v4, (float)(*v3 - a1->m_pageOffset) * v5, 0.0); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v2 + 184LL))(v2, &v4); if ( !(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 496LL))(v2) ) ((void (__fastcall *)(ExtendedLayer *, __int64))a1->m_extendedLayer->addChild)(a1->m_extendedLayer, v2); ++v1; } while ( v1 < (unsigned int)sub_100720070(a1->m_pages) ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source