// // BoomScrollLayer::updateDots from 0x10012ba48 to 0x10012bbe8 (416 bytes) // // 4 xrefs: // > BoomScrollLayer::init @ 0x10012b140 // > BoomScrollLayer::setPagesIndicatorPosition @ 0x10012b3b8 // > BoomScrollLayer::moveToPageEnded @ 0x10012bff4 // > BoomScrollLayer::init @ 0x10012b2ac // // 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::updateDots(BoomScrollLayer *a1, float a2) { __int64 v3; // x8 int v4; // w20 float y; // s8 __int64 *v6; // x0 int RelativePageForNum; // w21 __int64 v8; // x22 float x; // s9 __int64 v10; // x24 __n128 v11; // q0 __n128 v12; // q1 __int64 v13; // [xsp+8h] [xbp-78h] BYREF cocos2d::CCPoint v14; // 0:s0.4,4:s1.4 if ( a1->m_dots ) { v3 = 472; if ( a1->m_dynamic ) v3 = 440; v4 = sub_10024A36C(*(BoomScrollLayer_vtbl **)((char *)&a1->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable + v3)); y = a1->m_dotPosition.y; v6 = (__int64 *)((__int64 (__fastcall *)(ExtendedLayer *))a1->m_extendedLayer->getPosition)(a1->m_extendedLayer); v14.x = sub_1000229B8(&v13, v6); RelativePageForNum = BoomScrollLayer::pageNumberForPosition(a1, v14); if ( a1->m_looped ) RelativePageForNum = BoomScrollLayer::getRelativePageForNum(a1, RelativePageForNum); if ( v4 >= 1 ) { v8 = 0; do { x = a1->m_dotPosition.x; if ( (unsigned int)v8 < (unsigned int)sub_10024A36C(a1->m_dots) ) { v10 = sub_10024A388(a1->m_dots, v8); v11.n128_f32[0] = x + (float)((float)((float)(unsigned int)v8 + (float)((float)((float)v4 + -1.0) * -0.5)) * 16.0); v12.n128_f32[0] = y; sub_100022980(v11, v12, &v13); (*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v10 + 184LL))(v10, &v13); if ( RelativePageForNum == (_DWORD)v8 ) { (*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v10 + 944LL))(v10, &unk_100637528); } else { memset(&v13, 125, 3); (*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v10 + 944LL))(v10, &v13); } (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v10 + 328LL))(v10, a1->m_dotsVisible); } v8 = (unsigned int)(v8 + 1); } while ( v4 != (_DWORD)v8 ); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source