//
// BrowseSmartTemplateLayer::createDots from 0xb148e4 to 0xb149b4 (208 bytes)
//
// 2 xrefs:
// > BrowseSmartTemplateLayer::updateDots @ 0xb14b4c
// > ??> @ 0xe3848
//
// This function is hookable on this platform (idp: arm, 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 13:01:31 +0000
//
const char *__fastcall BrowseSmartTemplateLayer::createDots(
BrowseSmartTemplateLayer *this,
__int64 a2,
unsigned int a3)
{
__int64 v4; // x22
unsigned int v5; // w20
cocos2d::CCArray *v6; // x0
cocos2d::CCObject *v7; // x0
cocos2d::CCObject *v8; // x19
bool v9; // cf
const char *v10; // x1
const char *result; // x0
v4 = cocos2d::CCSpriteBatchNode::create((cocos2d::CCSpriteBatchNode *)"smallDot.png", (const char *)&off_18 + 5, a3);
v5 = 0;
v6 = (cocos2d::CCArray *)(*(__int64 (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 73) + 464LL))(
*((_QWORD *)this + 73),
v4,
5);
v7 = (cocos2d::CCObject *)cocos2d::CCArray::create(v6);
*((_QWORD *)this + 88) = v7;
cocos2d::CCObject::retain(v7);
while ( 1 )
{
v9 = v5 >= (unsigned int)cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 84));
result = "smallDot.png";
++v5;
if ( v9 )
break;
v8 = (cocos2d::CCObject *)cocos2d::CCSprite::create((cocos2d::CCSprite *)"smallDot.png", v10);
(*(void (__fastcall **)(cocos2d::CCObject *, float))(*(_QWORD *)v8 + 160LL))(v8, 0.8);
(*(void (__fastcall **)(__int64, cocos2d::CCObject *))(*(_QWORD *)v4 + 456LL))(v4, v8);
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 88), v8);
}
return result;
}