// // BoomScrollLayer::updateDots from 0x14003d9b0 to 0x14003dbab (507 bytes) // // 12 xrefs: // > BoomScrollLayer::init @ 0x14003d40b // > BoomScrollLayer::moveToPageEnded @ 0x14003dcfd // > ListButtonBar::init @ 0x14006b12e // > EditButtonBar::loadFromItems @ 0x1400d4c42 // > GauntletSelectLayer::setupGauntlets @ 0x1401fa41b // > LevelSelectLayer::init @ 0x140318c03 // > SecretRewardsLayer::init @ 0x1403d493a // > SecretRewardsLayer::createSecondaryLayer @ 0x1403d5690 // > BoomScrollLayer::init @ 0x14003d5b9 // > @ 0x140661c68 // > @ 0x140661ca8 // > @ 0x1406c3fb4 // // 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::updateDots(BoomScrollLayer *a1, float a2) { cocos2d::CCArray *m_dynamicObjects; // rcx int v4; // r15d float y; // xmm9_4 const struct cocos2d::CCPoint *v6; // rax cocos2d::CCPoint v7; // rdx int v8; // ebp cocos2d::CCArray *m_pages; // rcx signed int v10; // ecx signed int i; // esi float v12; // xmm6_4 struct cocos2d::CCObject *v13; // r14 cocos2d::CCObject_vtbl *v14; // rbx DS_Dictionary *v15; // rax void (__fastcall **v16)(__int64, cocos2d::CCPoint *); // rax cocos2d::CCPoint *v17; // rdx cocos2d::CCPoint v18; // [rsp+90h] [rbp+8h] BYREF cocos2d::CCPoint v19; // [rsp+A0h] [rbp+18h] BYREF if ( a1->m_dots ) { if ( a1->m_dynamic ) m_dynamicObjects = a1->m_dynamicObjects; else m_dynamicObjects = a1->m_pages; v4 = cocos2d::CCArray::count(m_dynamicObjects); y = a1->m_dotPosition.y; v6 = a1->m_extendedLayer->getPosition_0(a1->m_extendedLayer); cocos2d::CCPoint::CCPoint(&v18, v6); v8 = BoomScrollLayer::pageNumberForPosition(a1, v7); if ( a1->m_looped ) { if ( a1->m_dynamic ) m_pages = a1->m_dynamicObjects; else m_pages = a1->m_pages; v10 = cocos2d::CCArray::count(m_pages); if ( v8 <= 0 ) { for ( ; v8 < 0; v8 += v10 ) ; } else { v8 %= v10; } } for ( i = 0; i < v4; ++i ) { v12 = (float)((float)((float)i - (float)((float)((float)v4 - 1.0) * 0.5)) * 16.0) + a1->m_dotPosition.x; if ( i < cocos2d::CCArray::count(a1->m_dots) ) { v13 = cocos2d::CCArray::objectAtIndex(a1->m_dots, i); v14 = v13->__vftable; v15 = (DS_Dictionary *)cocos2d::CCPoint::CCPoint(&v19, v12, y); v14[2].encodeWithCoder(v13, v15); v16 = *(void (__fastcall ***)(__int64, cocos2d::CCPoint *))&v13[5].m_unknown2; if ( i == v8 ) { v17 = (cocos2d::CCPoint *)&unk_140529988; } else { memset(&v18, 125, 3); v17 = &v18; } (*v16)((__int64)&v13[5].m_unknown2, v17); ((void (__fastcall *)(struct cocos2d::CCObject *, bool))v13->__vftable[4].update)(v13, a1->m_dotsVisible); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source