// // BrowseSmartTemplateLayer::updateDots from 0x1000725dc to 0x10007274c (368 bytes) // // 1 xrefs: // > BrowseSmartTemplateLayer::goToPage @ 0x1000721e0 // // 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 BrowseSmartTemplateLayer::updateDots(BrowseSmartTemplateLayer *a1) { cocos2d::CCDirector *v2; // x0 int v3; // w21 __int64 v4; // x20 float v5; // s8 float v6; // s9 __int64 v7; // x22 __n128 v8; // q0 __n128 v9; // q1 _DWORD v10[4]; // [xsp+0h] [xbp-70h] BYREF if ( !a1->m_dotsArray ) BrowseSmartTemplateLayer::createDots(a1); v2 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(v2); v3 = sub_10024A36C(a1->m_pages); if ( (unsigned int)sub_10024A36C(a1->m_pages) ) { v4 = 0; v5 = (float)((float)(*(float *)&v10[3] * 0.5) + -140.0) + 15.0; do { v6 = *(float *)&v10[2]; if ( (unsigned int)v4 < (unsigned int)sub_10024A36C(a1->m_dotsArray) ) { v7 = sub_10024A388(a1->m_dotsArray, v4); v8.n128_f32[0] = (float)(v6 * 0.5) + (float)((float)((float)(unsigned int)v4 + (float)((float)((float)v3 + -1.0) * -0.5)) * 16.0); v9.n128_f32[0] = v5; sub_100022980(v8, v9, v10); (*(void (__fastcall **)(__int64, _DWORD *))(*(_QWORD *)v7 + 184LL))(v7, v10); if ( (_DWORD)v4 == a1->m_page ) { (*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v7 + 944LL))(v7, &unk_100636017); } else { memset(v10, 125, 3); (*(void (__fastcall **)(__int64, _DWORD *))(*(_QWORD *)v7 + 944LL))(v7, v10); } } v4 = (unsigned int)(v4 + 1); } while ( (unsigned int)v4 < (unsigned int)sub_10024A36C(a1->m_pages) ); } }