// // BoomScrollLayer::updateDots from 0x140041290 to 0x14004148b (507 bytes) // // 12 xrefs: // > BoomScrollLayer::init @ 0x140040cef // > BoomScrollLayer::moveToPageEnded @ 0x14004163d // > ListButtonBar::init @ 0x140078061 // > EditButtonBar::loadFromItems @ 0x140177517 // > GauntletSelectLayer::setupGauntlets @ 0x1402ff31b // > LevelSelectLayer::init @ 0x140441ed4 // > SecretRewardsLayer::init @ 0x14056a370 // > SecretRewardsLayer::createSecondaryLayer @ 0x14056b0d3 // > BoomScrollLayer::init @ 0x140040e92 // > @ 0x140884cdc // > @ 0x140884d1c // > @ 0x14090f4c4 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:25:29 +0000 // void __fastcall BoomScrollLayer::updateDots(__int64 a1) { cocos2d::CCArray *v2; // rcx int v3; // r15d float v4; // xmm9_4 const struct cocos2d::CCPoint *v5; // rax int v6; // ebp cocos2d::CCArray *v7; // rcx signed int v8; // ecx signed int i; // edi float v10; // xmm6_4 struct cocos2d::CCObject *v11; // r14 __int64 v12; // rbx __int64 v13; // rax void (__fastcall **v14)(char *, _BYTE *); // rax _BYTE *v15; // rdx _BYTE v16[3]; // [rsp+90h] [rbp+8h] BYREF char v17; // [rsp+A0h] [rbp+18h] BYREF if ( *(_QWORD *)(a1 + 416) ) { if ( *(_BYTE *)(a1 + 456) ) v2 = *(cocos2d::CCArray **)(a1 + 448); else v2 = *(cocos2d::CCArray **)(a1 + 480); v3 = cocos2d::CCArray::count(v2); v4 = *(float *)(a1 + 576); v5 = (const struct cocos2d::CCPoint *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 504) + 200LL))(*(_QWORD *)(a1 + 504)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v16, v5); v6 = BoomScrollLayer::pageNumberForPosition(a1); if ( *(_BYTE *)(a1 + 436) ) { if ( *(_BYTE *)(a1 + 456) ) v7 = *(cocos2d::CCArray **)(a1 + 448); else v7 = *(cocos2d::CCArray **)(a1 + 480); v8 = cocos2d::CCArray::count(v7); if ( v6 <= 0 ) { for ( ; v6 < 0; v6 += v8 ) ; } else { v6 %= v8; } } for ( i = 0; i < v3; ++i ) { v10 = (float)((float)((float)i - (float)((float)((float)v3 - 1.0) * 0.5)) * 16.0) + *(float *)(a1 + 572); if ( i < cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 416)) ) { v11 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 416), i); v12 = *(_QWORD *)v11; v13 = cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v17, v10, v4); (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(v12 + 184))(v11, v13); v14 = *((void (__fastcall ***)(char *, _BYTE *))v11 + 40); if ( i == v6 ) { v15 = &unk_1406FE7A4; } else { memset(v16, 125, sizeof(v16)); v15 = v16; } (*v14)((char *)v11 + 320, v15); (*(void (__fastcall **)(struct cocos2d::CCObject *, _QWORD))(*(_QWORD *)v11 + 336LL))( v11, *(unsigned __int8 *)(a1 + 569)); } } } }