//
// BrowseSmartTemplateLayer::createDots from 0x100072500 to 0x1000725dc (220 bytes)
//
// 1 xrefs:
// > BrowseSmartTemplateLayer::updateDots @ 0x100072610
//
// 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::createDots(BrowseSmartTemplateLayer *a1)
{
cocos2d::CCSpriteBatchNode *v2; // x20
__int64 v3; // x0
cocos2d::CCArray *v4; // x0
unsigned int v5; // w23
cocos2d::CCSprite *v6; // x22
v2 = cocos2d::CCSpriteBatchNode::create("smallDot.png", 0x1Du);
v3 = ((__int64 (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCSpriteBatchNode *, __int64))a1->m_mainLayer->addChild_0)(
a1->m_mainLayer,
v2,
5);
v4 = (cocos2d::CCArray *)sub_10024A15C(v3);
a1->m_dotsArray = v4;
cocos2d::CCObject::retain(v4);
if ( (unsigned int)sub_10024A36C(a1->m_pages) )
{
v5 = 0;
do
{
v6 = cocos2d::CCSprite::create("smallDot.png");
((void (__fastcall *)(cocos2d::CCSprite *, float))v6->setScale)(v6, 0.8);
((void (__fastcall *)(cocos2d::CCSpriteBatchNode *, cocos2d::CCSprite *))v2->addChild)(v2, v6);
sub_10024A2D0(a1->m_dotsArray, v6);
++v5;
}
while ( v5 < (unsigned int)sub_10024A36C(a1->m_pages) );
}
}